Beginners - November 2011 (Page 27)

Array of structures, logic error
 
Problem with the logic in my function. All other aspects of the program are working. I think it may ...
[2 replies] Last: My appologies, thought about posting the rest after I was already in t... (by MattyD74)
How to count odd and even numbers in rand. array?
 
I'm trying to count up the number of odd and even numbers (separately) that were randomly generated ...
[5 replies] Last: FYI: You could also write if( t % 2 == 0 ) as if( (t & 1) == 0... (by binarybob350)
Problem writing into 2 text files
 
I have the following problem when I try to run a simple writing to a text file: for the first text f...
[7 replies] Last: I have another question. Now the program works fine and writes the nam... (by Tullius)
calculation program returning 0
 
Hi, I've wrote this program for my assignment and for some reason it only returns 0 as the "shippin...
[2 replies] Last: Thank you very much the program works fine now. Unfortunately are lect... (by james fawkes)
assign letters to random number
 
does anybody know how to assign uppercase letters to random numbers i.e 65-91? eg. 65 to A, 66 to B ...
[2 replies] Last: I'm an extreme novice at C++. I'll tell you what I've learned in clas... (by velcro)
[help!]stacks
 
I'm working on a problem with stacks, to be honest I'm still sorta confused with the topic... so the...
[2 replies] Last: i broke the problem down a little, it runs and outputs right but gets ... (by aquariusmirky)
urgent-large reference file
 
hi, i am working on a code it has two parts: for the first part i have 1500-4000 text files which ...
[1 reply] : void comparefiles(const char *filename1,const char *filename2, int x);... (by amnakhan786)
Help with Class Inheritance(Homework)
 
Hello guys this is actually due tonight at 12. I have been working on this for 2 hours now. I am hav...
[3 replies] Last: although you seem to be calling parameterized constructor of Triangle(... (by Bibek Subedi)
Pointer and parameter problems
 
Problem defined in comments. Line 53 of main and line 165 of intstack.cpp intstack.h #pragma on...
[4 replies] Last: Got it, thanks. Always the little things. (by AndroidZ)
confusion over Basic loop problem
 
I'm trying to build a 10 question quiz and I'm designing it to where if you get the write answer it ...
[2 replies] Last: Since you are making Answer char data type, your condition for if st... (by Bibek Subedi)
Please help me on this.
 
i supposed to output 10 students last name and first and the their 10 grades and each of their avera...
[1 reply] : thats because you are outputing to the file only line 33 is the onl... (by detroit)
by hesso
hello
 
hello, EveryOne Nice to share you.
[1 reply] : Sorry man you are posting assignments and we are not here to do your a... (by Bibek Subedi)
by jlake
arrayas
 
hey i'm new to c++and am having a lot of trouble with this program my professor gave me. i really am...
[12 replies] Last: Think about it... how would you store a reversed string in another str... (by ascii)
trouble with function
 
I've gone back to do a bit of console programming while reading c++ Primer. I'm having a bit of trou...
[1 reply] : oops, this was a waste of post. Who woulda thought 6 pounds doesn't ma... (by InterFiction)
iterators question??
 
I am trying to do an example , I am trying to swap the number but I do not think I am taking the rig...
[10 replies] Last: thanks again for the fast reply firedraco I did solve like that i... (by detroit)
I need to get a website back up & running
 
Hello, a few years ago (about 7 or so) I developed a concept for a website but I had (& still do not...
[3 replies] Last: I'm not sure I'm really the right guy for it. (My knowledge of server-... (by Duthomhas)
C++ assignment - need help
 
the spec for the project (instructions, requirements, etc.) and also my code is in a file called dec...
[3 replies] Last: ifstream inputfile (fileName); The ifstream constructor takes a c... (by Moschops)
pass by pointer and pass a NULL
 
Hi all, in below test code, if I pass a NULL pointer to the add(int*) function, I still couldn't get...
[5 replies] Last: ...which is what he intended, of course. The problem is that he is con... (by Duthomhas)
by Vrakko
Excercise w/map...?
 
I just wanted to know if anyone could tell me a couple of excercises to do with the map structure.
[2 replies] Last: thanks! (by Vrakko)
November 2011 Pages: 1... 2526272829... 65
  Archived months: [oct2011] [dec2011]

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