Beginners - January 2009 (Page 14)

Text Color in C
 
Hi guys, I'm starting with Microsoft Visual Studio 2008 - language C and i don't find anything to...
[3 replies] Last: thanks guys, i will see it and try implement. Daniel Gomes (by danielcsgomes)
Searching for keywords in multiple text files
 
Hello, I'm working on a code for my project at college. The goal of the project is to find and extr...
[1 reply] : IMO. Take a different design technique. Load the keywords into a v... (by Zaita)
Program window wont show up when I add a function.
 
For some reason when I add the code for this function, without even calling it, my main window just ...
[8 replies] Last: No worries man, glad we could help ya find the problem. Even if it was... (by Zaita)
by tition
working quickly with strings: need char*
 
Dear all, I am writing a program for certain rather heavy mathematical computations and I use WIN...
[2 replies] Last: Thanks a lot! Worked out perfectly :) (by tition)
solution of tridiagonal matrix
 
//tridiagonal #include <iostream> #include <vector> #include <math.h> using namespace std; #d...
[3 replies] Last: If Warnis is right you'll need to add return 0; to the end of main() a... (by Malachi)
Problem with Point Selection?
 
I have an array of x and y values representing points on a grid. the arrays are x[0...n] and y[0......
[2 replies] Last: The distance between two points is the square root of (x1-x2) 2 + (y1... (by Warnis)
by Gib
Turtle vs Hare
 
Hi i want to make a program that simulates a hare racing a rabbit. The actual program would look lik...
[7 replies] Last: oh ok i appreciate the help. i just thought u missed that part (by Gib)
use of conditional operator
 
Dear sir, I am a beginner. I am learning how to use conditional operator. I have a question a sal...
[5 replies] Last: You can use an int to hold the result, but make sure you convert from ... (by Zaita)
by pisca
Basic precision
 
I have value 1.5555 setprecision(2) then 1.56 a=1.5555; cout << "a = " << fixed << a << setprec...
[1 reply] : It's not...a is still 1.5555, even though you are telling cout to only... (by firedraco)
Trouble with first array tutorial
 
I am using the array tutorial on this site and am having trouble getting the code to compile. Whene...
[2 replies] Last: ok so: int example [squared of]={squiggle}; gotcha, thanks... (by Shinji Ikari)
Classes and array tutorials
 
Maybe I am just not looking in the right places but I can't seem to find any tutorials on either cla...
[3 replies] Last: I have a zip file of about 20+ C++ books that I uploaded. If you want ... (by wachtn)
void main()
 
Is it wrong to use void main()...instead of int main()
[9 replies] Last: ahh ok now I understand..... tnx a lot guys.... (by mackocruz)
by II15X
Not sure where to start with program
 
Well I have been slowly making progress in C++, and I want to make a completely simple program where...
[3 replies] Last: http://en.wikipedia.org/wiki/Curses_(programming_library) (by helios)
Drunk Walker Arrays
 
Hi, I was given an assignment with arrays. The purpose of the program is to have a "drunk walker" wa...
[7 replies] Last: Ok, Some thing's to point out for you. Line 12: char drunk ; You n... (by Zaita)
by II15X
Question about C++ "Menus"
 
I am looking for a source code containing a menu, I believe a switch case? All I remember is it has:...
[7 replies] Last: The switch statement has been explained by yourself. I pre-emptively a... (by Zaita)
Ahh! can somebody save me!
 
hello, can somebody assist me with my code,i have been reading it for days and i still cant figure ...
[8 replies] Last: Sorry, but thanks so much helios, duNcan and zatia i figured it out an... (by kittykat)
Procedure too slow
 
Hi! I've programmed a function that rads a .csv and saves its values in an array. The csv looks l...
[2 replies] Last: Thanks! TTCworldCoord is of type double . Are the strtok methods much... (by shangzung)
Access to class variables
 
This is pretty basic, but I wanted to find out all the available options on how to do this. I have ...
[9 replies] Last: thanks for everyones help (by mscashmore)
Using if/else to control program flow?
 
I am attempting to make a simple calculator. When I first build the addition part the program compi...
[5 replies] Last: Thanks for your help! Here is the finished first draft: // Calcul... (by Shinji Ikari)
by flasun
Program that will display user info
 
I need a simple program code that will display the following: Hello, User! Your home directory is...
[2 replies] Last: I'm using Redhat Linux (by flasun)
January 2009 Pages: 1... 1213141516
  Archived months: [dec2008] [feb2009]

This is an archived page. To post a new message, go to the current page.