Beginners - April 2013 (Page 26)

Random number seed
 
Good afternoon all, My program asks the user for a file, reads the file, creates a new file, generates 5 additional numbers ,adds these numbers plus the old ...
[2 replies] Last: I see thank you for the reply (by Gagutier)
Using .getline inside of a function ERROR
 
Can someone tell me the correct way to read in data from a file with this kind of format: (sample file data) Plain Egg 1.45 Bacon and Egg 2.45 Muffin 0....
[1 reply] : I did not search very well before I ask my question. The same question... (by BrianDehn)
by xeltic
Need help reading an address and sending mouse click left
 
How do I send a click if an address in an application is increased from 1 to anything else?. I am a complete beginner to c++ and only know a little bit of AS...
[no replies]
Posttest loop problems
 
I am needing this code to display 1 2 3 1 2 3 as my out put and right now I am only getting one set of numbers instead of two. Any help? ...
[8 replies] Last: I've got it thank you for your help! (by kirstin)
Deriving from a interface errors, dont quite understand
 
Since i seem to be beign ignored ill try here.. This error is annoying, Im kinda new to this design please help: error C2061: syntax error : identifier 'G...
[12 replies] Last: I appreciate your help and i hope your not getting frustrated(at least... (by j0rdant13)
by lmsmi1
Console Not Exiting at End of Main Function?
 
What the heck? For whatever reason, my console doesn't exit at the end bracket of the main() function. Full code: #include <iostream> #include <string> #i...
[2 replies] Last: Thanks. Such a stupid mistake... (by lmsmi1)
Illegal instruction error!? Can nobody fix this??
 
Hi, I'm making a connect 4 game, and it compiles correctly; but when I execute my connect4.exe I get an error saying "Illegal instruction: 4" I'm using a MAC an...
[no replies]
Trouble Understanding Pointer Assignment
 
I sent this to my instructor but he hasn't replied back and it's due today so I'd appreciate any input. Unfortunately I haven't even gotten past the pseudo code...
[11 replies] Last: I actually have read that tutorial along with my textbook and it's sti... (by daft science)
Basic Array Maintenance
 
I'm having a bit of trouble with something that should be pretty easy. I have list of words and I need to shift all members of the array up one place if there's...
[no replies]
Purpose of Lambda Functions?
 
Hello, I came to internet, and found this: http://en.wikipedia.org/wiki/Anonymous_function#C.2B.2B I've heard about lambda functions earlier, but I don...
[2 replies] Last: Here's an example: with lambda: #include <iostream> #include <vector>... (by Cubbi)
by antu55
Vector
 
hi, im doing some exercise to understand more about vector but when i compile the code nothing come out and there is no error in the code. can you guys point...
[5 replies] Last: If you are trying to learn vectors check out this page http://www.cplu... (by giblit)
str_cat
 
Good afternoon, just working on something here that should use pointers to arrays and concatenate the answer. please let me know where i went wrong: please...
[13 replies] Last: Dear Catfish3, thank you for everything! /* 1. Declares and initial... (by xxLOSTxx)
by lmsmi1
EXE Has Stopped Working
 
My executable does what it's supposed to, but after everything is completed, it "stops working" and a window pops up on the desktop saying that. Here's the f...
[2 replies] Last: Oh, silly me, DUH! *facepalm* Now the program doesn't exit after ente... (by lmsmi1)
"expected expression before 'Cell' "
 
Can anyone help me fix these errors? connect4.c: In function ‘game_over’: connect4.c:140: error: expected expression before ‘Cell’ connect4.c:161: ...
[3 replies] Last: Thank you so much! it worked :D (by codingnoob1)
Reading data from a file via a function
 
This program reads students’ names followed by their test scores then output each students’ name followed by the test scores and relevant grade.It should a...
[2 replies] Last: Oh. Did not think of it that way. Thank you. I will try that and let y... (by BrianDehn)
arrays and addresses
 
According to my logic the output should be 2, since p is the third member of given array. However, it isn't. Why? #include <iostream> using namespace st...
[10 replies] Last: Thank you very much :) (by uzferry)
What's the difference between DEBUG and BUILD? (CodeBlocks)
 
HI! My question is related to CodeBlocsk and not the C++ itself, BUT I couldn't post in CodeBlock's forum, There was something wrong with Gmail (our government...
[3 replies] Last: Thanks! BUT I'm not looking for solution to fix it. I'm wondering what... (by Ardeshir81)
by cham
How to know how many elements are in array which is passed as an argument to function ? (1,2)
 
like int add(int a ,int b ) how i can use loop to traverse array if i dnt knw the size? I was participating in a programming contest in which i only have...
[22 replies] Last: check out if they are using a sentinel. By the way, main must return i... (by ne555)
chess game
 
i want a code of chess game in window form application if anyone of u have this please send me i need it... thanks
[2 replies] Last: @uzferry my post sounds request not order.... (by amara waseem)
by Abdo2
Asking about perfect way to learn C++
 
What is the perfect way To learn C++ ? and How someone make windows application by it? What libraries i use To make Windows application? ............... i h...
[6 replies] Last: Can u give me Sites or books i learn from it Algorithms, classes (OOP)... (by Abdo2)
April 2013 Pages: 1... 2425262728... 83
  Archived months: [mar2013] [may2013]

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