Beginners - January 2009 (Page 4)

Just looking for some feedback and advice on improving my program. Thank you!
 
Hey, guys this is a finished (but not perfect) piece of coursework that I have had assessed. Just wa...
[2 replies] Last: thanks, for the reply. As to the !(expressions), come to think of i... (by NannyCool)
First project in school using C++, need assistance
 
I'm doing my first project and I'm kind of in the dark on figuring out what I did wrong so if anyone...
[4 replies] Last: Ok, everything is starting to make more sense now that i've been messi... (by rech0004)
by Jaymie
Use Class before Class Declaration
 
How do I declare a class after where you want to use it e.g.: in "main"? int _tmain(int argc, ...
[5 replies] Last: Typically. Class A should be in it's own Header/Source file combinatio... (by Zaita)
using a for loop within a for loop problems
 
I have a for loop and I need to enter in sales for four quarters for each of the six divisions. The...
[4 replies] Last: You should stick to standard convention of using i for the outter-most... (by Zaita)
by airowe
Undefined variables in an Object
 
// This is a homework question so I don't need the solution, just help getting there... How do I ...
[2 replies] Last: The line you've highlighted is creating an object called Employee. The... (by Zaita)
dynamically allocating a three dimensional array
 
hello, can any tell me how to dynamically allocate a 3d array and populate values into it and how t...
[3 replies] Last: Another approach is a vector of vector of vector. e.g vector<vect... (by Zaita)
responding in a sentence (cin?)
 
Suppose I wanted to answer a question like this in a sentence cout<<" What did you do today? \n...
[2 replies] Last: Using cin to get user input: http://www.cplusplus.com/forum/articles/... (by Zaita)
while(cin >>x) terminates program
 
I have just started learning C++. Every time I use a while (cin>>x) loop, when the loop is terminat...
[7 replies] Last: while(getline(cin, input)) { // do stuff with input } is perfe... (by Zaita)
How to input a sentence and display an output based on your sentence?
 
Suppose I wanted to answer a question like this in a sentence cout<<" What did you do today? \n...
[2 replies] Last: http://www.cplusplus.com/forum/articles/6046/ (by Zaita)
Random Coordnate generator
 
In my Highschool Programming club we are trying to make a guessing game that works similar to Battle...
[3 replies] Last: Why not use a C++ data structure instead of a 2D character array? A... (by Zaita)
test driven development using vs2008
 
does anyone use the unit testing tools that come with c++ visual studio 2008? i've used the c# unit...
[1 reply] : Some good ones you can use are NUNIT and Boost::Test. As for setup ... (by Zaita)
Paint Multiple Rectangles
 
Hi guys, my objective is paint diferent rectangles i have this file: rectangle.cpp: #include <...
[2 replies] Last: You should draw at WM_PAINT message on your window procedure (by Bazzy)
by pabs
file manipulation
 
pretty basic problem but my C++ is pretty far back here's my problem I have to read a text fil...
[1 reply] : You can use iostream library. (by maros522)
by harryp
Bored out
 
I need some really mind-bending questions on c++ programming, utilising the concept of loops, arrays...
[5 replies] Last: Thanks that was really good. (by harryp)
by harryp
Generating a circle
 
I want to generate a circle of radius given by user.But I can't get the draft of circle on paper and...
[4 replies] Last: Thanks a lot! (by harryp)
Unsure of my algorithm
 
I am very new to the programming world i was given an assignment and i've attempted the question but...
[1 reply] : think there is a problem in you pseudocode logic, if RESULT is greate... (by Bazzy)
GNU Make File
 
I have c++ and when I try to open it, it says "There doesn't seem to be GNU Make file in PATH or in ...
[1 reply] : Try re-installing ur c++ software. (by harryp)
Confused with library and header files
 
Hello. I would like to know the difference between a header file and the c++ library . I am ...
[1 reply] : When using c++, you first have the build-in stuff. This includes the... (by Scipio)
by quant
C: translate int_32 to 8-bit
 
hello, So, if I converting ip address from 8-bit to int_32 type. address = (((((ip <<8)+ip )<<8)+i...
[2 replies] Last: id[3-i]=... Hm, I think what it's mistake, see to that... If I doi... (by quant)
pixel colors
 
so i want to make a program that will place the mouse at a certain color on the screen. The Screen t...
[no replies]
January 2009 Pages: 123456... 16
  Archived months: [dec2008] [feb2009]

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