
please wait
by MattyD74
Array of structures, logic error
|
Problem with the logic in my function. All other aspects of the program are working. I think it may be the FOR loop but it is accumulating the running total jus... |
Nov 19, 2011 at 1:32pm
[2 replies] Last: My appologies, thought about posting the rest after I was already in t... (by MattyD74)
|
by woodchuck499
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 and stored in a single line array. Here is my code for th... |
Nov 19, 2011 at 12:40pm
[5 replies] Last: FYI: You could also write if( t % 2 == 0 ) as if( (t & 1) == 0... (by binarybob350)
|
by Tullius
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 file : "alfa.txt" the program works fine, but for the "beta.t... |
Nov 19, 2011 at 12:14pm
[7 replies] Last: I have another question. Now the program works fine and writes the nam... (by Tullius)
|
by james fawkes
calculation program returning 0
|
Hi, I've wrote this program for my assignment and for some reason it only returns 0 as the "shipping cost" any ideas why? #include <iostream> #include <ioma... |
Nov 19, 2011 at 10:56am
[2 replies] Last: Thank you very much the program works fine now. Unfortunately are lect... (by james fawkes)
|
by alexiel
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 etc. my question paper says to "generate an element in betwe... |
Nov 19, 2011 at 10:21am
[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 problem is write a problem to keep track of arriving and de... |
Nov 19, 2011 at 8:25am
[2 replies] Last: i broke the problem down a little, it runs and outputs right but gets ... (by aquariusmirky)
|
by amnakhan786
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 have strings in them.some files are same and some have diffe... |
Nov 19, 2011 at 7:22am
[1 reply] : void comparefiles(const char *filename1,const char *filename2, int x);... (by amnakhan786)
|
by Adrian10988
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 having trouble understanding Class Inheritance. My program work... |
Nov 19, 2011 at 6:54am
[3 replies] Last: although you seem to be calling parameterized constructor of Triangle(... (by Bibek Subedi)
|
by AndroidZ
Pointer and parameter problems
|
Problem defined in comments. Line 53 of main and line 165 of intstack.cpp intstack.h #pragma once #include <stdlib.h> class IntStack { int curren... |
Nov 19, 2011 at 6:33am
[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 will move to the next question. the problem I'm having is... |
Nov 19, 2011 at 6:13am
[2 replies] Last: Since you are making Answer char data type, your condition for if st... (by Bibek Subedi)
|
by narutochan
Please help me on this.
|
i supposed to output 10 students last name and first and the their 10 grades and each of their average grades. My program doesn't output anything on the screen.... |
Nov 19, 2011 at 6:08am
[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. |
Nov 19, 2011 at 5:58am
[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 not sure how i should start. this is the problem A p... |
Nov 19, 2011 at 5:53am
[12 replies] Last: Think about it... how would you store a reversed string in another str... (by ascii)
|
by Dillano
sum of square root function
|
ddddd |
Nov 19, 2011 at 5:51am
[1 reply] : First, plz post the code using code tag given right hand side of text ... (by Bibek Subedi)
|
by InterFiction
trouble with function
|
I've gone back to do a bit of console programming while reading c++ Primer. I'm having a bit of trouble with this function. For some reason I'm not getting a va... |
Nov 19, 2011 at 4:47am
[1 reply] : oops, this was a waste of post. Who woulda thought 6 pounds doesn't ma... (by InterFiction)
|
by detroit
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 right aproach. Here is the code, please see if something is ... |
Nov 19, 2011 at 4:23am
[10 replies] Last: thanks again for the fast reply firedraco I did solve like that i... (by detroit)
|
by Biglis35
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 have) little to no knowledge on web design... specifically ... |
Nov 19, 2011 at 3:52am
[3 replies] Last: I'm not sure I'm really the right guy for it. (My knowledge of server-... (by Duthomhas)
|
by maryrewalt
C++ assignment - need help
|
the spec for the project (instructions, requirements, etc.) and also my code is in a file called decrypt.txt. It compiles for me in Visual Studio however the A... |
Nov 19, 2011 at 3:50am
[3 replies] Last: ifstream inputfile (fileName); The ifstream constructor takes a c... (by Moschops)
|
by csxpeng
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 the allocated space in my main function. And it thus gave m... |
Nov 19, 2011 at 3:48am
[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. |
Nov 19, 2011 at 3:30am
[2 replies] Last: thanks! (by Vrakko)
|