General C++ Programming - December 2011 (Page 14)

seperating the memebers in the string
 
Hi , I am trying to seperate the word in the string . but not getting the proper result . This is my code int main(int argc, char *argv ) { string mid_li...
[6 replies] Last: any one on this . (by bluecoder)
Looking to do the impossible, or hopefully the improbable...
 
I have been a c++ programmer for many years now, but someone recently asked me to do something I honestly do not think is possible to do, but I figured I would ...
[2 replies] Last: Thank you. I must admit, even though I have been writing in c++ for ma... (by digitalsynapses)
Check for input while program still running
 
I have a program that displays a clock on screen, but I would like to be able to press the 'M' key, and the time will show military time, press it a second time...
[11 replies] Last: @Duoas Actually, you only mentioned it was a version of , so I didn'... (by whitenite1)
by Pyrius
Is there a better way to get an object with an ID as parameter?
 
I have a Tile class which contains various static Tile objects, each with their own unique ID. Some of the tiles need to be updated differently than the others,...
[14 replies] Last: Alright, thanks hamsterman (by Pyrius)
Implicitly converting int to std::vector<>::size_type
 
Hi all, I'm writing my own code for data manipulation on text files, where data are arranged as columns of (floating-point) numbers; I come across a class Dat...
[3 replies] Last: No, it sounds like you're still misunderstanding. You can do int i ... (by hamsterman)
C++ program...I'm missing something!
 
I'm almost done with this program, but something's not right in main. Here are the project instructions: Assignment Write a program which keeps track o...
[7 replies] Last: @THECASTLE & chantp88: Use [co de] CODE TAGS to highlight the co... (by Nisheeth)
My c++ project any advice please ? (website maker)
 
Hello i know a decent amount of c++. Now what my program is going to be is dos windows and a input of commands that make web pages.For example if i typed in new...
[1 reply] : I suggest you make an intermediate representation of your html, for ex... (by hamsterman)
Solutions for some programs
 
1.WAP to print of n pow(p) usinf a func called pow_cal() that takes two arguments,a double value for n & an int value for p so that if this argument is omitted ...
[3 replies] Last: http://www.cplusplus.com/forum/articles/31015/ (by ne555)
files confuse me (solved)
 
If i were to make a program, or have a piece of a program, write numbers to a file, and lets say I close the program. The program should print the numbers when ...
[6 replies] Last: have no fear, the problem has been solved #include <iostream> #incl... (by swarage)
I/O File
 
Hi, This project is for school, so error spotting only please. No solutions. I'm trying to create a simple contact book in a text file with a console applicat...
[7 replies] Last: Nevermind, I got it. It seems inefficient, but it works if I declared ... (by Aaron Arber)
adasdasdasdaasd
 
Yes, just ask multiple times and you will get much more help xD The return type of main should be int.
[17 replies] Last: Sorry to bump this again, but please stop bumping his posts...it's get... (by Nathaniel Sheller)
by Shant
Trying to imitate PHP explode() function
 
Hello In a project I am going to have to access files where data is stored as values separated by a delimiter character. I am essentially trying to imitate ...
[5 replies] Last: Hi shant: heres a function that I wrote and have been using for a numb... (by bruno45)
asdasdasdasd
 
asdasdasdasasd
[4 replies] Last: OP: i want to change A to A+,B to A-, C to A.etc but i cant , please... (by Moschops)
32423423523
 
123 }12342423424234
[4 replies] Last: We already told you how to do it, and then you deleted your posts abov... (by Moschops)
Linker problem
 
When going to compile a program I am working on there is an error with the linker that I don't completely understand. It is a duplicate symbol error but the sym...
[7 replies] Last: so do ssf have to declared ssf in the file i am using the structure or... (by bluecoder)
NEED HELP WITH BASIC C++ PROGRAM
 
Ijkjbkjbkjbkjuiujbkjbkj
[17 replies] Last: Someone mentioned using string and switch? You can't use those togeth... (by Nathaniel Sheller)
problem with print ABC pyramid
 
test
[2 replies] Last: Thanks for the response, the program on purpose written in C. I could ... (by loop2012)
by Hajime
Function always evaluating as true
 
I'm trying to write a code so that when someone puts in their name, age, and gender, it'll read that info back to them. When I try to compile this code, it tell...
[9 replies] Last: Nathaniel Sheller you are right . (by bluecoder)
Problem with guessing letters in my Hangman code!
 
Hello! I have here Hangman in c++! It's almost working. I have a problem width the "play"-funcion* These 3 function is working correctly, as I want: v...
[no replies]
So what format do you use?
 
I was reading around different forums and i noticed people tend to write their if statements differently than others. That got me wondering which is used more c...
[17 replies] Last: I use number 2. That's how I learned it from the textbooks I learned o... (by Nathaniel Sheller)
December 2011 Pages: 1... 1213141516... 39
  Archived months: [nov2011] [jan2012]

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