Beginners - September 2011 (Page 34)

what is mistake?
 
it is problem: Given a sequence of numbers. Need to streamline these numbers in non-decreasing in its last digit, and the last digit being equal - in non-decr...
[4 replies] Last: thank you very muchhhh!!!!!!! (by TURAL MeLIKLI)
Parser
 
Hi, I want to make a simple parser that search for ; and make a new line to the rest of the line
[1 reply] : What you should do is search for ';', then immediately after that inse... (by Intrexa)
Help Appreciated On My Gold and Silver Profits Program
 
Hello everyone, I have written a program in C++ that allows me to calculate my gold and silver profits. I was wondering how I would go about if I wanted to do ...
[no replies]
Google c++ class question
 
So one of the examples on the google c++ course is this: How many ways can you arrange 6 different books, left to right, on a shelf? This time we will just gi...
[5 replies] Last: Thanks! This is definitely easier, hah. (by Tarek Firzli)
How do I access a vector from a different function?
 
I create a 2D vector in 'void initialLoader()' and need to access it from 'void emulator()'. Im having trouble with: if (transitions.at(i) == row && ...
[2 replies] Last: @chenqi07: He would have to pass the vector as a parameter by referen... (by Nisheeth)
How to become familiar in C++ Oop Concept
 
Friends, I am new to C++. I want to learn Oop concepts of C++ . Thanks in advance, Alex.
[1 reply] : First of all - be familiar with everything that has nothing to do with... (by hanst99)
Rusty in c++
 
hey guys, its been a while since i did some c++ programming and i thought i'll get back into it. I set myself a task to make a restaurant/bar type billing syste...
[12 replies] Last: i'll just keep on hacking away at it and eventually it will work :) Th... (by Moogmaster)
Creating Output(n), when N is an increasing number, when Output.txt exists.
 
Hello! The title basic describes my problem, and I'm struggling to work out how to do such a thing, I've looked at stringstreams amongst other ways but canno...
[2 replies] Last: The only portable way to do this that I am aware of would be attemptin... (by hanst99)
Linked Lists :(
 
Hey boys :) So I am taking this c++ course in college and its really tuff :( I get most of it to an extent but I would love it if one of you boys could ex...
[9 replies] Last: @Albatross =P I wasn't having a poke at women I was just pointing out... (by quirkyusername)
why my do-while loop are not working? it just exit the program after the zodiac sign showed
 
#include<iostream> using namespace std; int main() { Start: int n,m; cout<<"Zodiac Sign "<<endl; cout<<"Exit "<<endl; cin>>n; do{ switch(n) { c...
[4 replies] Last: I modified a little your code: #include<iostream> using namespace s... (by CosminNTG)
Error LNK2019: unresolved symbol
 
This is the full error: 1>test.obj : error LNK2019: unresolved external symbol "public: __thiscall Money::Money(void)" (??0Money@@QAE@XZ) referenced in funct...
[5 replies] Last: Moschops, you were right too. Thanks everyone for helping. (by bool maybe)
Roman Numeral Converter
 
Alright, so I'm working on a program that is supposed to convert an input of Arabic Numeral 1-3999 into Roman Numerals. I have my logic planned out, but I'm...
[6 replies] Last: Well, I will choose another solution more...beautiful. For instance... (by CosminNTG)
Sentinel values and repition problem (HOMEWORK HELP!)
 
Hi guys, first post go easy on me :D. Question: write, compile run a program that continously requests a grade to be entered. If the grad is less than ...
[6 replies] Last: cout << "Please enter a grade: "; cin >> grade; total = total + grade;... (by fdjamaan)
by woohoo
"&" to a Function in an argument
 
Hey, guys im trying to find out how to pass a reference to a function in an argument in this example..... void test(char *szMessage, char *szTitle) { M...
[8 replies] Last: Oh, woops sorry i mean when i use void getfunc(void (*myfunction... (by woohoo)
Friend function error: member is inaccessible
 
This is the part of the program that's giving me trouble: class Money { public: friend Money operator +(const Money& amount1, const Money& amount2); ...
[2 replies] Last: That's because your prototype in the class (line 15) is taking a non-c... (by firedraco)
New to C++
 
Hi, I'm jadendp, I'm new to coding in general. I know some basics from C++ like some formatting, cin, cout, librarys and such. I'm looking to learn C++ so I can...
[1 reply] : I gotta say that I bought two books by Herbert Schildt and I regret it... (by Cuddlebuddie928)
Unable to print to a txt file while inside a loop
 
Hey everyone, I want to print data to a txt file using a void function outside the main. The problem is that it only prints the last iteration of the loop cal...
[5 replies] Last: it does not compile, error: outfile was not declared in the scope T... (by shacktar)
How trim off the last few whitespace of a string?
 
The string my contain several words but I want to trim off any excess whitespace if any. Is there a really simple way of doing this?
[3 replies] Last: I use something like this to trim whitespace from around a std::string... (by Galik)
c++ program
 
i have a assignment that i don't have any idea how to do this question. QUESTION: Write a complete c++ program to do the following: a) declare an array to ...
[8 replies] Last: yaa thanks a lot guys..thanks for showing me the coding and all the i... (by tiara shahrul)
Query:
 
Can anybody tell me the statement used to clear the output screen in Dev C++?
[1 reply] : 1.)http://cplusplus.com/articles/36vU7k9E/ 2.)There are several ways ... (by ModShop)
September 2011 Pages: 1... 3233343536... 48
  Archived months: [aug2011] [oct2011]

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