Beginners (Page 2)

passing ofstream into a structure
 
How do i pass an ofstream to a structure; //write to file ofstream outfile ; outfile .open("...
[3 replies] Last: its complaining that there is no appropriate default constructor avai... (by MikeyBoy)
help me figure out error..
 
I am very new to c++.After running the program It showed null error. It asks for both the inputs ie....
[14 replies] Last: had always think it was the std::cout that does the "flushing", clos... (by Cubbi)
Problem in Template Classes
 
1:- In Template class : template <class khan, class khan1, class khan2> if I removed the other tw...
[6 replies] Last: Oops, sorry I made a typo What I mean was cout<<foo(); that would ex... (by ne555)
Keyboard output
 
Hello. I would like to try and create a small program which for example can make my keyboard pres...
[3 replies] Last: ok i understood nothing about SendInput() so i tried looking into keyb... (by swagsurfer)
String Objects and String Literals
 
Hey Everyone, I understand that strings are objects of the class string, so when you store a stri...
[3 replies] Last: all string literals are stored in static memory (although compilers ar... (by Cubbi)
by aggsyb
Renaming Folders ?
 
Hi, I am trying to rename a folder for example Test.Folder.1422 to Test Folder 1422 b...
[3 replies] Last: Are you asking from a programming aspect or from just a standard compu... (by Zereo)
by piczim
c Help with the next step
 
Write your question here. I am trying to work out how I take the result from the question asked in ...
[4 replies] Last: The scanf() statement is not correct. You have specified that you want... (by Chervil)
How is formatted input in iostream?
 
HI! I was wondering how can I do some formatted input in C++? I mean like in C we write : in...
[2 replies] Last: cin.setwidth(int) i believe (by DTSCode)
by abirby
I can't read info
 
Hello, I started programing an application in order to send sms through a cell phone connected via U...
[3 replies] Last: fgets(msg,300,stdin); is executed (haven't seen this that way before... (by coder777)
Destructor
 
Write your question here. #include<iostream> using namespace std; class test { int i; ...
[1 reply] : Which way does it work?:) Its work depends on the storage duration. Fo... (by vlad from moscow)
Error using Regex
 
Recently I've been trying out some of the regex functions in the C++11 and I know about the regex_se...
[4 replies] Last: > I'm using MingW 4.7.1, it does work with Regex right? No. GNU libst... (by JLBorges)
Class within class
 
Hi, I am currently trying to write a piece of code which will allow me to add a column of data t...
[no replies]
by Blank
time calculator
 
i have no idea how to do this problem..somebody help? Write a program that asks the user to enter...
[14 replies] Last: Create class Time and then in Constructor set function Check(int,....)... (by GuruMan94)
Please help find problem
 
I am pretty new to this and I have never seen this and cant really find out what it means when I bui...
[5 replies] Last: do a clean and rebuild. (by mutexe)
by incxx
help with adding variables
 
when my program is compiled, the total of all the prices always equals to zero even when a product i...
[4 replies] Last: no, i meant why previous poster saying #include<cstring> and not #incl... (by mutexe)
Formula not returning a sum
 
Hi, could someone tell me why this function in my header is not returning the balance = depAmount +...
[2 replies] Last: Hi lili143 It is better to keep the original topic going, rather t... (by TheIdeasMan)
by Ch1156
Help with while loop (1,2)
 
I cant figure out how to enter anything else if i screw up. Im supposed to be able to enter a choice...
[26 replies] Last: > Im ripping out my hair trying to figure this out, what other people ... (by JLBorges)
Displaying Long integers
 
Hi, Could someone please tell me how I can display realllly long integers? I am doing one of the ...
[2 replies] Last: one possible solution is instead of long long, try to implement multip... (by abhishekm71)
by jidder
Is anyone willing to give me help on a game im making
 
Ok so i have multiple problems that are quite large. None are like compiler problems. I have quite...
[12 replies] Last: Matter of fact, it's best you just PM me if you want the code to my p... (by cire)
condition being met, wrong branch taken...
 
Hey Everyone, I'm testing for a condition using a string data type. For a reason I can figure ou...
[2 replies] Last: Thanks IdeasMan, It worked like a charm. I'm just starting to get bac... (by RastaWolf)
Pages: 1234... 96
  Archived months: [apr2013]

Cannot post in this page. To post a new message, go to the first page.