Beginners - August 2009 (Page 9)

problem in returning a value
 
i think my code is correct but it's output is not. please help me with this.. #include <cstdlib> #include <iostream> using namespace std; int add(i...
[6 replies] Last: because our teacher said that some systems don't show the right answe... (by Return 0)
by hunter
Currency Converter C++
 
Howdy all! I'm really new to C++ and thought this was really cool when I made it. All it does is converts US Dollars to five other currencies. It's a console ba...
[19 replies] Last: I don't recommend indefinate recursion. When you call a function, its ... (by chrisname)
Tips please
 
I am new to c++ and I would like to know what are some helpful tricks and what not to do.
[6 replies] Last: I might buy that book, written by the man himself. (by chrisname)
Reading from RAM (1,2)
 
I was just reading about the reference operator ( & ), and it got me thinking. Can I read and print the entire contents of the system RAM? What would happen? ...
[22 replies] Last: Yeah, it is. I forget what it's initial address is (the first address... (by chrisname)
Calling variables dynamically
 
Hi all, I have big bunch of objects with names like TBarrelHisto_1_1, TBarrelHisto_1_2, TBarrelHisto_1_3, ... , TBarrelHisto_33_71, so about ~2500 of t...
[2 replies] Last: Yeah, the problem is that I read all these objects from a ROOT file (R... (by channnante)
ABC Problem
 
My teacher give me a homework.I'm a kid from thailand She said if you don't understand you can ask someone else Given 3 Interger A,B and C it may not orderi...
[3 replies] Last: #include <algorithm> #include <iostream> using namespace std; ... (by screw)
This should be made a sticky!
 
This if for anyone looking to test/improve their skills - yes i know there is another one of these about but here are a lot more: http://ocw.mit.edu/OcwWeb/E...
[no replies]
by tziny
Linked lists
 
Hello, I am new to C++ programming. I have started learning by myself a couple of weeks ago. I have written the following program for generating linked lists...
[3 replies] Last: Very similar problem here as before. current = current->nxt; In th... (by hamsterman)
Map as a source of data
 
Hello everybody, I've got a console project generating 6 elements combinations of strings(6 out of 10)for example: ia11,ia72,ia190,ia21,ia102,ia180 ia11,ia72...
[2 replies] Last: I know that find is possible, but in the example you quoted: // map::... (by valdinez)
by bester
Bash from C++
 
Hello! I`m learning C++ and now I interested in bash (linux command interpretator) and C++. My question: how I can assign bash output to some string variable? O...
[7 replies] Last: LOL he wants to fork a child. man is that cruel. i didn't know that pa... (by elvenspike)
error: missing storage-class or type specifiers --- why is it comming
 
i am using vc++ 6.0 for learning c++. i have made a program which give me the following error error C2501: 'TotalStudents' : missing storage-class or typ...
[1 reply] : You have to fully specify the type and scope when defining static memb... (by helios)
string prob
 
hi could some body help me? im making a program that writes in a file.txt how can i compare my "char x" to another char? #include<iostream> #include<fs...
[3 replies] Last: wew tnx hamsterman you fill in the part that i was missing. (by rave003)
Confused how to modify a program I wrote last week
 
Last week for class I wrote the program below. This week part of our assignments are to the program take this program and modify it so the user can display the ...
[6 replies] Last: A few things you've forgot to do so far (haven't looked at whole progr... (by mcleano)
by mustey
Beginner class usage: splitting .h files
 
Dear members, please help with the following problem (it's on a beginner level). I made a program that works, it uses a class. Then the book demonstrated how ...
[7 replies] Last: you are right, my last question was off topic and pretty trivial. sorr... (by mustey)
by mustey
Simple structures code troubleshooting
 
Hi! I am in the beginning of my studies. I am now self-teaching structures. Here's a code I wrote: #include <iostream> using namespace std; struct b...
[3 replies] Last: Dear jsmith, I guess I was two minutes quicker than you ;) (just ... (by mustey)
Timestamp out of range; substituting 1970-01-01 02:00:00 eror
 
I use dev c++.My IDE isn't compiling anything.i take error #include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv ) ...
[7 replies] Last: aghhh.My stupid brother changed system date and year.he made 2095 0_0.... (by areyoupp)
Switch statements + strings
 
do string statements work with strings? i seem to have problems with that...
[3 replies] Last: Though you can do stuff to switch on a string fairly simply. Here's th... (by Duthomhas)
by Cbick
Troubles with C++ assignment
 
I've been working on this code for a tic tac toe game for the past day. I can get it to compile but here is what I cannot figure out. 1. As soon as the player ...
[3 replies] Last: Your switch player function doesn't actually switch the character bein... (by firedraco)
pos(point of sail)
 
hi evrybody , i want to program pos systems , but i dont have any information about pos system , and its programing, i would be grateful if U could do me a favo...
[4 replies] Last: Is this a home grown POS system or industry leader? While there are s... (by Return 0)
basic global var question
 
hi, i've been learning c++ for a very short time from Herbert Schilts book. i wrote the program from the book, but it won't compile. it can't be too hard, but i...
[2 replies] Last: thanks very much. i'll remember that (by inbetween)
August 2009 Pages: 1... 7891011... 17
  Archived months: [jul2009] [sep2009]

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