Beginners - April 2008 (Page 12)

Challenging Puzzle: Need help coding program to manipulate char string
 
I need help writing the last two required functions of this program: 1st i've posted the the instructions given to me. 2nd is the code I have thus far. Please h...
[3 replies] Last: Try removing the * (but only from your call, not the declaration & hea... (by psault)
I have problems using my compiler
 
hi,sorry can you please tell me how i can you my compiler it's called commandline tools,I have downloaded it from codegear.
[1 reply] : You need to execute BCC32.EXE to compile your .cpp files. The syntax ... (by psault)
Help with variable length arrays(malloc & realloc)
 
Hi. I'm having a lot of trouble getting my head around something which seems deceptively simple. Basically I'm trying to get a string of user input from the ...
[2 replies] Last: Oops, code above (in last block) doesn't quite work. Change the first... (by jsmith)
Graphs and Set ADT's - UGH!
 
I'm in a class where we have to make a lab that does the following with a set ADT: bool isEmpty() int Size() void Store(int item) // Places the item in th...
[1 reply] : Ironically the STL already gives you the set<> template class which pr... (by jsmith)
have problems using my compiler
 
Sorry.can somebody please tell me how can I use my compiler it's called commandline tools I have downloaded it from codegear.I am a begginer and I would like ...
[1 reply] : you reply me through lvandazz@gmail.com (by charlie)
C++
 
Hi...what can i do with c++..still blur
[1 reply] : The literal answer: write software. (by closed account z05DSL3A)
by S J K
FINDOUT THE FACTORIAL OF A NUMBER USING RECURSION
 
I have a program here. I would like to know how recursion works. //program to find the factorial of a number using recursive fuction #include<iostream.h> ...
[1 reply] : http://en.wikipedia.org/wiki/Recursion_%28computer_science%29 (by closed account z05DSL3A)
How to access 16 bits
 
Hi, I have problem putting a value to 16 bits variable. Here is, how I am doing it. typedef unsigned char UCHAR; typedef UCHAR * ID_PTR; unsigned short ...
[4 replies] Last: Thanks, This solved the problem. unsigned int* ptr =(unsigned int... (by kursist)
calling function issues
 
what does it mean when you get error code c2082; redefinition of parameter?
[1 reply] : I found the anser as to what it means. I jsut can not figure out where... (by firebird)
using namespace std
 
I am new here, still having problems to try programs with using namespace std. already went through the provided notes, but still not having fully grasp of the ...
[7 replies] Last: I tried to run the same program using other free editor, Crimson Edito... (by bayabear)
Help Please with reading txt file into array
 
i need to write program so when you enter artist name it outputs information given in following struct, using information in txt file below. i need help getting...
[4 replies] Last: i modified code and the strings from the txt file goes into the array,... (by chosen1)
time tables help
 
the numbers don't output in the right amounts or order #include <iostream> using namespace std; int Grid(double Number); int main() { d...
[2 replies] Last: nevermind i got it i will remember to comment it next time i have a ... (by gregv21)
Yet another person asking for help with code
 
First time post. I've been trying to figure this out for the last hour. I can't get the following to compile correctly: struct studentInfo { string nam...
[5 replies] Last: You can either use getline to get a single line at a time, or fin >> t... (by ropez)
Please help
 
The program has to compute four totals: How many people do not read a newspaper, how many men older than 40 years read a newspaper or twice a week, how ma...
[4 replies] Last: Just add some check for those specific things, like: if (numDays... (by firedraco)
by Bone
Output
 
Everything semed to be o.k. when I had simple output statemet's in the main. When I tried to incorporate the outputs into a function 'output' (requirement) I go...
[1 reply] : Oops I think I got it!! Thanks anyway. (by Bone)
how to use jpeg images in c++
 
#include <iostream> #include <string> using namespace std; class dog { private: int weight; string name; public: dog(); dog(int,strin...
[no replies]
Capture Results from System()?
 
Hello, I am trying to write a basic program that searches a user's hard drive for PST files. Once the program finds the files, I would like to be able to use ...
[1 reply] : You should consider using a .bat file instead of a C++ program. If you... (by Hotaru)
Trouble using a loop structure
 
Hey guys, im in need of writing a program using loop structure that reads in 5 integers one by one , and calculates the sum of the values that are multiples of ...
[3 replies] Last: Haha mate are you from uws (by BlackCasanova)
help in this code please
 
that code is about a text editor program please tell me what's the wrong in the code #include<iostream> #include<string> #include<iomanip> #include<cctyp...
[no replies]
help in these problems
 
i want to know how to check that a data is interger or not ? & how to check that the file is empty & how to get the dimensions of a matrix in a file by using po...
[no replies]
April 2008 Pages: 1... 1011121314... 18
  Archived months: [mar2008] [may2008]

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