Beginners - March 2010 (Page 9)

if (condition) AND NOT (condition)
 
Dear All, I am trying to make in C++ an if-condition where IF the condition is met, the condition still has to be tested for not meeting other conditions. Ex...
[2 replies] Last: thanks (by karelsmits)
by Aslam
String Compairing!!!
 
Hello Everyone....... I needed your Help i am new in programming and i got a project in which i have to compare two source codes of two different users and sho...
[no replies]
How to compile a C++ program in Windows 7?
 
I'm using Borland C++ 5.5, I code my programs using Edit, I compile and run my programs using console. Before, I was using Windows XP and I had no problem usin...
[3 replies] Last: Did you remember to restart your command shell? I'm just clutching at... (by kbw)
Project Book Cipher Suggestions?
 
I've been working on a project the last few days. The program reads a txt file, stores each character in a multimap, and pairs with a number, that increments fr...
[2 replies] Last: Yes, I'm trying to count every character in the text file, and then th... (by workman845)
getline function in simple program
 
I am writing a simple program to test a looping sequence and am using a string variable along with numerical inputs. I initially used just a single word "name" ...
[no replies]
GUI buttons
 
hello every one. I have been learning c++ for a while now and i want to start learning GUI programming. i have been looking for a while how to make buttons a...
[3 replies] Last: I learned all that "GUI-Stuff" using the Qt lib. (I think) It is much ... (by maad)
I shouldn't need a 'double' ??
 
Hi. I am writing a program that analyzes horse races. Anyway, at the start I need to include only those distances that I deem 'playable'. They include races ...
[4 replies] Last: Then what you can do is input into a string, strip the dots, and conve... (by helios)
by maad
Invalid use of incomplete type / log() error
 
Hello everyone! I searched the web for awhile, but I cant find a solution for my problem. (especially: http://www.cplusplus.com/forum/articles/10627/ was ver...
[no replies]
How do I countdown?
 
I really need a timer example, that I put into it seconds and after those seconds are up the application closes. Since I don't understand and know how to do tha...
[2 replies] Last: You'll need a timed poll. Here's one for Windows: http://www.cplusp... (by Duthomhas)
by awanz
how to print ***
 
hello everybody... I want to ask how to print **** *** ** * with repetition statements "for" thanks for the answer
[3 replies] Last: thanks for the response given... next...I want to learn about the func... (by awanz)
What are global variables exactly?? (1,2)
 
For class I need to make a program that has the user input items they wish to buy, the price, and that calculates the discount and tax. My teacher said that ...
[21 replies] Last: Actually, in my example I broke the rules set by your teacher a little... (by Danielsson)
Display Bubble Sort
 
Program work but having problem with code that will prints the array at each step of the algorithm. #include <iostream> using namespace std; void bubbl...
[1 reply] : use [ code ] [ / code ] next time without spaces, for readability. al... (by adikid89)
Annoying Runtime Error With Vectors
 
vector <double>::iterator iPerfectMark = marks.begin(); while(iPerfectMark != marks.end()) { iPerfectMark = find(iPerfectMark, marks.end(), 83); ...
[2 replies] Last: You do not have to store the last checked position because you are cha... (by Duda)
default destructors access violation
 
I have a program where one class has an object of another class as a member. There is an object of the first class as a global variable. When the program clos...
[6 replies] Last: Haha all good mate. Glad I was able to help :)... (by sammy34)
first POST/ Program
 
Hey all this is my first post here and so far i love c++ i saw an example program that determines the possible ways to reach a monetary total with coins and th...
[3 replies] Last: well I think it's really only a security issue when you use it with po... (by Dacster13)
Beginning Question
 
Hi All, I've just got my first mfc assignment for my C++ class and I'm having issues already. Perhaps someone can point me in the right direction? Using MS V...
[2 replies] Last: If you are using the IDE you want to open a new project, empty win 32 ... (by genuwine21)
by cortez
How to raise 5 to: the power of 3
 
I need some help in writting a for loop tha raises 5 to the power of 3..Can someone please give some advice thx
[2 replies] Last: For loop: http://cplusplus.com/doc/tutorial/control/#for (by moorecm)
Problem with c++ program
 
I've been trying for a while to create like an offline bank that will keep the amount of money each person has will be able to add or subtract money from the ac...
[5 replies] Last: I did that but now i get a new error and a problem with case 3 I gues... (by jufus09)
Stuck and need assistance please...
 
Hello, I need to write this code and am lost at how to call these functions to output what I need. The task is to calculate and print the total cost of a rou...
[4 replies] Last: Yeah, you shouldn't give up. Learning just takes some time. Anyways th... (by Dacster13)
Using a variable as an array size
 
I want an array that holds information about customers. The problem is is there could be an infinite number of customers. So when a new customer is added then t...
[2 replies] Last: If you write in C++ you have the option of stl, but if you want to wri... (by genuwine21)
March 2010 Pages: 1... 7891011... 34
  Archived months: [feb2010] [apr2010]

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