General C++ Programming - April 2014 (Page 31)

Counting in c++
 
I'm making a program in which it will read an input from a text file and then count the numbers of ...
[1 reply] : oh yeah and the input.txt look some thing like this : 27 asdxzc &#^$... (by iamkhanglhp)
Recursive calls
 
Hello I am very confused on this homework I am doing. I know you make think i am lazy for doing this...
[1 reply] : Have you though about e.g. instrumenting the code and running it? #i... (by Abramus)
How could I go back in the Main menu using this code that I have constructed
 
Hello I'm new here! I just wanted to ask, how can I go back to Main menu using this code that I have...
[1 reply] : Hiya, use a while loop. http://www.cplusplus.com/doc/tutorial/control/ (by mutexe)
by fafner
Pointer as parameter is null
 
In my raytracer-project I have the following function: bool hitObjects(Ray &ray, std::vector...
[6 replies] Last: Can't say I fully understand why that works yet, but it does! The key... (by coder777)
Whats wrong?!?!
 
#include <iostream> #include <string> using namespace std; class Date { private:...
[6 replies] Last: @kannanmj Thank you so much ugh that was bothering me so much i knew i... (by klayrahx7)
i need help pleas
 
hello every one i need to draw this shape in c++ pleas help me. just the stars , without the ((....
[1 reply] : Well, what have you done so far? "I need help" will not get your any h... (by giblit)
Compiler/IDE misunderstands my functions
 
I'm coding in Dev C++ IDE. And here are some (parts) of my code: #include <string> #include...
[3 replies] Last: I think cire's way solved the problem. Change the constructor to: Gu... (by dleanjeanz)
Why i cant dereference an iterator at the end of the list?
 
Why this code works Elenco e1; e1.add(Persona("a","b")); e1.add(Persona("c","d")); e1.add(Per...
[4 replies] Last: thanks :) (by Franconet)
Array Txt File Project
 
Hello, I have a project due in Computer science in which I have nearly finished, but I am having tro...
[1 reply] : what exactly is the problem? (by coder777)
Overloading + operator
 
Hey guys. I have been working on an assignment where I have to add three objects of a class Matrix. ...
[2 replies] Last: You made my day Man. :D That was what I was looking for. Thanks alot b... (by DaniAlves)
Functions lab
 
Need help to see what I did wrong and/or what am I missing Object: Write a program to compute the...
[3 replies] Last: @17 double testscore(MAXCOUNT) This should be double testscore ... (by kannanmj)
Get live data to simulate algorithm
 
How to get live streaming of stock data from yahoo finance? Using C++. Thanks! I need the code and f...
[1 reply] : https://code.google.com/p/yahoo-finance-managed/wiki/YQLAPI (by Joshhua5)
Syntax problem using heap allocation
 
Hi, I have the following working section of code: const unsigned int arySize = numSteps * numS...
[3 replies] Last: Many thanks. (by badger10)
vector within struct: syntax confusion
 
Hi all, my first post happens to be a question: What is the proper syntax to use a vector within ...
[2 replies] Last: Zhuge, You are the king. It works now. I suppose I did that because... (by goatgoat)
Function Prototype
 
#include<iostream> using namespace std; int welcome() { cout<<"\t\taggregation programn"; ...
[6 replies] Last: thankyou (by feehily)
by Aarix
simple problem but confused.
 
Hey, I'm trying something to have a number change its value based on another number in an attempt to...
[4 replies] Last: It seems to me like you don't know how program flow works. Why not jus... (by xismn)
hello
 
hey guys need some help on a question. show the prototype (i.e. declaration) of a function that p...
[10 replies] Last: ya, sorry. thanks for your time I'm still new at this. i can tell C++ ... (by MaseratiDeluxe)
C++ Run Time Check Failure
 
I dont know why the compiler sent me the Run-Time Check Failure in Option 2, 5, 6. Why the compiler ...
[2 replies] Last: '5' and '6' have array overruns, you are lucky to get a run time error... (by erty)
Save the indexs of a multi-dimensional arrays ...
 
Hello, I am working on the game of fifteen.Yes this is home work. I was wondering if it is possible ...
[3 replies] Last: Thanks guys (by otisphat80)
Themes for visual C++ xpress?
 
i only know how to change text color .. and background .. as you can see on the pic .. but i want to...
[4 replies] Last: sorry you are right, anyway im going to download 2013 then .. i saw t... (by SrgjanLDTeam)
April 2014 Pages: 1... 2930313233... 41
  Archived months: [mar2014] [may2014]

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