Indenting for snippets
Hello. If anyone is using VS Express (2012), I know how to alter the indentation setting so I can use: namespace ConsoleAppWord { class Program { public void ProcessDocument(Document aDoc) { } } }...
View ArticleHomework Help? Driver class for a Student.
So, it's been a while since I last coded anything, and I have an assignment asking me to edit a student class to overload the constructor to set all test scores to 0, find the average, and print....
View ArticleScoreboard help!
SO i am having some problems with the scoreboard. When the user hits the button to make the score count up, it goes up 1. Then when you hit it again, it just stays at 1 on the label. Dim a as integer =...
View ArticleXML elements to csv
Hi to all, I have this code to parse XML file I need to take elements "Name" and write them all to csv header (from every product in XML) with rest of the XML data, but I need values to be as data in...
View Article[Link] Game-Based Economics Research Explains Why We Roll the Dice On
QuoteUsing an online computer game that simulates the spread of an infectious disease among its players, researchers at Wake Forest University learned more about what motivates people to protect...
View ArticleNeed help in downloading java
I just started my java class today. I followed all the steps in downloading the eclipse and java but i don't know how to start with it. I really don't know where to start. Please help. Thanks. Zhul
View ArticleGridlayout buttons in a BorderLayout frame.
I want the 4 buttons to be placed on the bottom left of the frame, but currrently it fills up the whole bottom borderlayout of the frame. Is there any method to not fill up the whole bottom...
View ArticleHow Do You Cast A IEnumerable List To A Listbox Object Collection?
It's easy to cast a Listbox.ObjectCollection to a list to perform enumerations on but what about if you want to go the other way? I KNOW YOU CAN USE A FOREACH( Like foreach (string d in the_domains) {...
View ArticleI do not know why I am getting the "No suitable method found
Hi, I am trying to learn how to use Java and this is only my third day working with the language and I know next to nothing about the syntax. So if my code looks like it was written by an amateur,...
View ArticleProcessing - Fractal generation not fitting in expected range
Here's a problem description for generating a fractal. I'm doing it in Processing: The program will use the position of the mouse to set the value of a complex number of the form v = (a + bi). The...
View Articlesegmentation fault(core dumped)right half pyramid using # in c
#incude <cs50.h> #include <stdio.h> Int main(void) { Int x;y;z; While(x<0) { printf("enter number_"); Scanf("%d"x); } for(y=o,y=x,y>,y--) for(z=0,z>=x,z++) { printf(" ");...
View ArticleAjax php login query via onlick
Hello, I am building a webpage and i found that most of my functions requires the whole webpage to reload. for example login the page will reload and display success or error. I found out that ajax can...
View ArticleAjax php login query via onlick
Hello, I am building a webpage and i found that most of my functions requires the whole webpage to reload. for example login the page will reload and display success or error. I found out that ajax can...
View ArticleHow to authenticate Google Calendar API via local python script?
Hello I'm a newbie to python programming but have some (not extensive) experience with html, php and vb6 if it helps. I have recently purchased a Raspberry Pi computer to tinker with which some of you...
View Articlerun dx11 code on a dx10 machine?
i wrote a project using directx11 devices ID3D11Device* g_pd3dDevice; ID3D11DeviceContext* g_pd3dContext; no shader uses tesselation code . is there a way i can run this on a dx10 machine. my main...
View ArticleHighlight numbers using regex
Hello guys, I am a beginer in vb.net and I have a question about regular expressions: I want to highlight in a richtextbox only telephone numbers...from a phrase or a sentence. here's my code Dim r As...
View Article[HELP] Splash Screen Tutorial
Where can I find an easy to understand splash screen tutorials? Can you give me some information/tips? Thank you so much..
View ArticleDouble to integer conversion whithout loss of numbers - c++
hello, c++ cout << 9.45 * 100 << endl; double a; double b; int c; b = 9.45; a = b*100.0; c=a; cout << c <<endl<<endl ; cout << a << endl; Results 945 944...
View ArticleHomework Help - simple calendar with adding simple events
Hi can I ask for some help regarding my homework. I need to make simple calendar with the ability to add some simple events/reminders/notes to it. I got written calendar: import java.awt.*; import...
View ArticleImportError: No module named zlib + Virtualenv.py
Virtualenv.py complains even after I have installed the zlib development packages, restarted the terminal and rebooted the computer. What is going on with Mint14? Because I'm following the exact same...
View Article