General C++ Programming - October 2012 (Page 7)

public class member
 
I am trying to send some variable into a public class member. I have 3 variables say x, y ,z. I w...
[3 replies] Last: sınıf is a class. sınıf1 is an object. When you pass an object to ... (by Peter87)
Calculator performs basic arithmetic and uses variables
 
I have a working calculator , token and a balanced parentheses file. this is my calc.cc file #in...
[3 replies] Last: You will have to write it yourself, in your code. (by closed account 9y8C5Di1)
Comfuse qsort function
 
qsort has this format: void qsort ( void * base, size_t num, size_t size, compare) and these are...
[2 replies] Last: http://cplusplus.com/faq/sequences/sequencing/sort-stuff/#c (by Duthomhas)
structures functions
 
Corporate Data Sales Write a program that uses a structure named CorpData to store the following ...
[6 replies] Last: You seem to have changed so much between the first and second versions... (by kbw)
Ouput to text file as a paragraph instead of vertical and horizontal line?
 
I'm writing a program that get integers from a text file and ouputs it to another but when i ouput i...
[1 reply] : You will want to count how many times you output a number and print an... (by IceThatJaw)
PLEASE help with this program!
 
Please help with the following program (I am totally unprepared for this class and have no idea wher...
[1 reply] : The issue here isn't programming; it's problem-solving. You need to s... (by Moschops)
by BandK
string question :/
 
I have string example = "something" How to add to this variable example 10 blank spaces? This woul...
[5 replies] Last: Yes..Thank you :) (by BandK)
file program
 
Program to read name,age and phne nmbr of 5 person from a file and to display detailed information o...
[2 replies] Last: I would first create a Person class. If you want to use this approach ... (by IceThatJaw)
Do/While Loop not working
 
Can someone help me understand why this do/while loop isn't working. I want it to stop when at least...
[2 replies] Last: Worked! Thanks a lot (by johnhisenburg)
by BandK
2d string array
 
I have 2d string array named X . If i put in X text how to check that in X is text... examp...
[2 replies] Last: Thank you :) (by BandK)
by BandK
char array...easy question :/
 
I have char example ; in this char is some text of lenght 8. How to put behind this text 10 empt...
[2 replies] Last: Thank you :) (by BandK)
Fstream: Returning even integers to txt?
 
I'm writing a program that returns the even integers from a txt file containing even and odd intgers...
[2 replies] Last: Thank you! I figured it out later but thank you for the reply. (by rvbplayer123)
Prime Number using while loop only
 
I have to write a program to find "1" to "n" prime numbers using while loop. "n" is the number ente...
[13 replies] Last: @TheIdeasMan yeah i accedently made the 'perfect squares' one :P , my... (by brandonator)
Database Problem (Should be Simple)
 
Hi everyone. I have little idea how databases are usually done, but I figured I'd try to write an ad...
[8 replies] Last: It does, I initially didn't see the default since you had it in the d... (by naraku9333)
My function is not working properly, please help
 
I'm currently in a predicament where i'm trying to get the program to test if the user picked fire, ...
[5 replies] Last: yes that would fail because it would miss the fourth statement Alx101,... (by brandonator)
Problems with outputing data from a text file
 
Hi all, I really need some help and real fast. I am trying to simply display data from a textfile. H...
[15 replies] Last: I am trying to create a delete function that deletes an item from the ... (by ritchson101)
by BandK
Please help
 
Please help :( This is what i want...http://www.freeimagehosting.net/8puoq empty string is what ...
[2 replies] Last: Thank you :D (by BandK)
passing an ofstream as a void* to a callback function
 
I want to pass an ofstream as a void pointer but, I do not know how to recast it as a ofstream. thi...
[no replies]
PROBLEM UNDERSTANDING B-Trees
 
template <class recType, int bTreeOrder> struct bTreeNode { int recCount; recType list[...
[no replies]
STL issue
 
I had come over another issue with STL. I am trying to write a program that takes a number 'n' (1 <...
[2 replies] Last: Firstly, I guess you'd be amazed to find out that my OS is the brand n... (by jumper007)
October 2012 Pages: 1... 56789... 50
  Archived months: [sep2012] [nov2012]

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