Beginners - September 2012 (Page 26)

How to record different inputs in textfile
 
This program records a name in a text file, anybody can help me how to record multiple names in tex...
[3 replies] Last: Yeah, use getline() instead of cin cause, cin accepts characters until... (by Aceix)
Help with strcat function
 
i have the code something like this:- char buf ; int main() { char *mc_no ="002"; int a=99; ...
[2 replies] Last: #include <cstring> #include <cstdio> char buf ; int main() { con... (by vlad from moscow)
syntax understanding
 
I was looking at one of the c++ based frameworks. There is a class QMainWindow which uses the below ...
[5 replies] Last: No worries, read some of the other docs on the website, or google Qt Q... (by TheIdeasMan)
by l3st3r
About saving to file
 
Hi guys.. I was wondering how can I write at the beggining of the file?? file inputs Lester Mark...
[1 reply] : You will have to put the write position at the beginning of the file, ... (by Fransje)
by MW130
Help me installing sdl
 
Hello I have spent over 3 days trying to figure out how to install sdl into xcode. I am on a part of...
[6 replies] Last: It should be upper case #include "SDL.h" http://www.libsdl.org/cgi/... (by Peter87)
by cramey
Capture a space
 
Hi all I struggle to capture the space when it is entered as part of the name The 2 lines commente...
[10 replies] Last: Correct. I see the actuall issue was that i tried to enter a name like... (by cramey)
by clodi
how can you store data?
 
Hello, I am a real begnner in C++. I know that you can store data with vectors etc.. the queston is...
[2 replies] Last: Thank you very much!!! I'll start working on it :) (by clodi)
by Maygs
toString problems
 
I'd like to return all this information from my toString like how it does on line 6. I have a strong...
[5 replies] Last: Ok, I see what you are doing. Why not append the payslip info to the ... (by TheIdeasMan)
Using a do/while loop with a switch statement.
 
This is definitely a homework problem, so hopefully I don't get some ToS breach warning, but I can't...
[3 replies] Last: Also the cmath header file has built in constants for Pi, E etc. You c... (by TheIdeasMan)
Need help on how to start and do this homework problem?
 
For this assignment, write a program that will calculate the amount that a customer spends on ticket...
[1 reply] : This is exactly the same problem as your other post in the General C++... (by TheIdeasMan)
by letsgo
Please help me with this question!
 
Good night guys, this is my first post. I am a student of Computer Engineering (beginner) and found ...
[1 reply] : This seems that this answer is located within the book. (by pogrady)
by fcanto
I want to learn this
 
My teacher gave me this code but I don't know exactly what the code is doing: newPtr->nextPtr = ...
[5 replies] Last: Looks to me like it is inserting a new node at index n-2. So if there... (by kevinkjt2000)
dynamic memory allocation and reuse
 
Can any one plz provide some example how to implement dynamic memory allocation for employee record ...
[2 replies] Last: Well, first off you don't declare a destructor for your class. While ... (by pogrady)
Reading Textfile using pointers
 
solved
[15 replies] Last: Hmm thats very interesting, I'll try making a new text file. Once agai... (by topchef)
Class Program
 
I am new to the C++ so here i have one problem. I am not able to understand what i have to do in the...
[5 replies] Last: fname = new char ; lname = new char ; This code doesn't do what y... (by TheIdeasMan)
Clearing memory for variables
 
Hi everyone. I was running through one of my chapter exercises and used this program as an exercise....
[3 replies] Last: Code tags: code goes here Just helps the helpers read the code. ... (by kevinkjt2000)
by mcal24
How to ask the user to repeat this program?
 
Im very new at this. I want to ask the user if he wants to repeat the program again by inputing Y or...
[1 reply] : google c++ while loop (by Aramil of Elixia)
••Key press at any time. HELP!••
 
I want to make a simple game using the console and X,Y coordinates. I haven't started on this proje...
[14 replies] Last: OK. It turns out I'm just going to make a program that you use arrow ... (by Forseth11)
Practice program
 
I'm trying to create a program that can help me with some statics problems I've been doing. I ha...
[3 replies] Last: I fixed it. I had a small mistake in variable placement. Program can d... (by bowlbase)
by fcanto
Sorting a link. list
 
Anyone has and suggestions in code in how to sort a link list
[3 replies] Last: I completely understand where you're coming from. I have no problem up... (by fcanto)
September 2012 Pages: 1... 2425262728... 62
  Archived months: [aug2012] [oct2012]

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