by kingsamuraix
help with code
|
|
[2 replies] Last: Wow this is rough. Are you taking a class for C++? Or reading a book/t... (by ResidentBiscuit)
|
by cyberteen
cannot include vectors
|
|
[2 replies] Last: It's just #include <vector> no ".h"; in fact, If you're writing C++ ... (by Mathhead200)
|
by Rave
dynamically allocating pointers?
|
|
[4 replies] Last: // Look at the type following the "new" keyword. This operation allo... (by Mathhead200)
|
Void* arithmetic |
|
[1 reply] : I guess you could do voidarray2 = (char*)voidarray + offset; ... (by hamsterman)
|
by jokerfwb
overloaded >> operator function not working right
|
|
[2 replies] Last: #include <iostream> #include <string> using namespace std; int main(... (by histrungalot)
|
by ErinCorona
What am I missing in this second function?
|
|
[2 replies] Last: I think the statement j<0 in your for loop is never true, since yo... (by biaspoint)
|
Warning: Pointer Return Function |
|
[1 reply] : You are returning a pointer to something on the stack which is bad. S... (by histrungalot)
|
by KingAroan
Please help with this code.
|
|
[4 replies] Last: Not knowing what the total project is, start small and read in the con... (by histrungalot)
|
by johnhoffman
What is the point of declaring a vector length?
|
|
[4 replies] Last: Thank you! That is clear now. (by johnhoffman)
|
by Zeph78
Need some help and info. about buffer
|
|
[1 reply] : Since your code explicitly determines the size of your buffer "char sB... (by collator)
|
Formatting Output |
|
[4 replies] Last: The floor didn't help so far, I looked up a bit on truncation, it wou... (by Wisely Done)
|
by gnolladvisor
Class Issue
|
|
[1 reply] : Instead of void attack(int &a) where you are passing an integer, you... (by Wisely Done)
|
by Bartek Sowka
My command line calculator problem(s)
|
|
[6 replies] Last: Not sure if it works, but try using stringstream. Something like this... (by Wisely Done)
|
by Bartek Sowka
Store a int with a name specified while running the app. ...
|
|
[3 replies] Last: That's a good question with plenty of practical uses. You can simul... (by closed account 3hM2Nwbp)
|
Class name student |
|
[4 replies] Last: I know that. But how do you learn how to do something if you dont know... (by ProgrammingProblems)
|
by Yellowhottub
Linked Lists
|
|
[3 replies] Last: I tried using the typedef everywhere and it works now, thank you for t... (by Yellowhottub)
|
by Stewbond
getline(ifstream, string)
|
|
[4 replies] Last: Yes, the file was open. Edit: No wait.... I added this line after... (by Stewbond)
|
Write a program that accepts c string input |
|
[1 reply] : Have you gotten input from the user into a char s ; before? Have you... (by Duthomhas)
|
Calculating Gravity |
|
[2 replies] Last: Thanks very helpful. I had already set up a data array and loop but us... (by closed account 2NywAqkS)
|
by yasar11732
About linking
|
|
[11 replies] Last: There is some difference between the two. http://www.gnu.org/software/... (by Peter87)
|