Beginners - June 2013 (Page 10)

Read text files.
 
Hello, I am trying to copy names in to a dynamic array. The first integer shows how many names there...
[1 reply] : You omitted the important part of the message 26:30: error: invalid c... (by ne555)
How to Free memory!
 
Hello, I was trying to program a game with c when I realized that if anyone, who is playing in my ga...
[2 replies] Last: I mean I use a terminal window to run the program and i close the term... (by Ericarru)
pseudocode algorithm
 
int Minimum-Cost( X[a..d], person ) min ← ∞ if person = d the...
[2 replies] Last: just sent and message for you. tried to do my best which i could... ye... (by Lim Boon Jye)
Problem using cin and getline with strings
 
I am exploring some of the possibilities with the string template class defined in the <string> head...
[5 replies] Last: @Chervil: Thank you for your elaboration, it is good to know about th... (by R10111001)
Loops
 
Hi, I'm currently trying to learn game development and I'm having lots of trouble wrapping my head a...
[17 replies] Last: local to the "while()" Thanks. (by a967Bytes)
by hychan
Possible addition of integers
 
Task: Suppose the default number is 10. You are supposed to write a program that outputs the total ...
[3 replies] Last: well one possible "inefficient" solution is to loop 'i' from 1 to 10 a... (by abhishekm71)
or operator if statement
 
Why is this all the times true? #include <iostream> using namespace std; int main() ...
[4 replies] Last: Thank you Manga. Been long time since I used C++ and just been seeing ... (by IamAnoob)
by Marie
hFind return INVALID_HANDLE_VALUE
 
Hi! For my first post in the forum, and because i'm a real beginner, i don't see from where does my...
[4 replies] Last: GetLastError send me : "File not found" but when I print the "Dossier"... (by Marie)
by hychan
Generate suffix
 
How can I generate suffix for integers from 1 to 10 to the power of 10000? EXAMPLE 1: input: 21 ...
[2 replies] Last: Thank you for your help. It makes me clearer about suffix now! :) (by hychan)
Make the .exe compaitable with mac?
 
Hello! I made a program and people asked me to make it for mac.. Is there a code to write that mak...
[3 replies] Last: [quote=maeriden]You can also give the source code to one of those peop... (by MrHutch)
top down approach
 
can you plz elaborate how C++ implements top down approach and C implements bottom up approach? in ...
[2 replies] Last: Google is your friend http://stackoverflow.com/questions/12776824/diff... (by Smac89)
by lmsmi1
Disable Return Char?
 
I'm writing an application and need some advice. So here's the problem: when I hit the RETURN key, i...
[no replies]
Linker error
 
I generated this code using QT and I'm getting a linker error I'm using Visual Studio 2012. I'm get...
[1 reply] : I fixed it. (by pronesti)
How to use the auto keyword correctly
 
Hi, LeafyCircuits here! Comp Specs: OS: Windows 7 Home Premium 64-bit Compiler: MinGW v4.6.2 IDE: C...
[12 replies] Last: Zereo said: I would also recommend upgrading your IDE away from... (by LeafyCircuits)
by klay2
bug
 
cant figure out whats wrong with it it just wont compile # include <iostream> # include <stri...
[3 replies] Last: thanks its always worked with .h though strange that that fixed it ... (by Disch)
by Mint
Problem with STD in string
 
I'm trying to make a small rpg out of text (don't mind the fact that it's not much right now.) I'll ...
[4 replies] Last: Ah, actually I see now that main is including a header.h with a differ... (by Zhuge)
why ">>" operator in "istream" passes new lines?
 
HI! Suppose this is student.txt joe 6849 computer diploma bill 1859 electronic BSc ...
[2 replies] Last: The way >> works is that it ignores all whitespace characters up until... (by Peter87)
string manipulation
 
hey guys i need help with my code ; well I am required to write a program that uses getline to read ...
[3 replies] Last: Except that your code is silly, for example what does this loop do? }... (by vlad from moscow)
C/C++: Reading and sorting a string.
 
So I'm toying with a little idea and not entirely sure how to do it. An example of reading a file in...
[1 reply] : Well I don't see what can make it impossible, try using isdigit to che... (by Tertius Kgatla)
Error: no match for 'operator='
 
I'm getting very strange errors with the code down below, could someone explain why? ERROR 1: no...
[5 replies] Last: Has anyone got any clue on how to do the same program as I did up here... (by GoranGaming)
June 2013 Pages: 1... 89101112... 49
  Archived months: [may2013] [jul2013]

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