Beginners - September 2008 (Page 11)

string vs Byte
 
Hi All, I am new in c++ please tell me how we can convert string into array satish
[3 replies] Last: @ zhongnan - did you read the question, or have you posted in the... (by guestgulkan)
Pulling two digits from integer? (1,2)
 
I had previously posted about a program that is converting a numerical date over into the correct spelled expression. Example:Input 20080101 Output: January 1,...
[20 replies] Last: Just flip the names of the variables. It's still the same operations t... (by jpeg)
What should i learn next?
 
I've just learnt quite a bit of c++ including file i/o, pointers, dynamic allocation, classes, and so on. I'd like to learn more but the problem is I dont know ...
[2 replies] Last: Definitely worth learning. Imagine you want to be able to store a ... (by mahlerfive)
Number Changer
 
This program will make you enter a number. If that number is even, it'll print it is even and then either multiply, add, subtract or divide a number (randomly) ...
[7 replies] Last: Doesn't == have a lower precedence than +? Yoinks! So it does. ... (by Duthomhas)
sticks game anybody?
 
Thank's
[1 reply] : Please see: http://www.cplusplus.com/forum/articles/1295/ Edit: Tha... (by Zhuge)
by moelo
exponents
 
Hi! I'm having a problem to compute a power funtion. A user inputs x and n,so I have to compute X to power N. This program should not use any build in functions...
[10 replies] Last: I told him to set up a loop that multiplies x by itself n times in my ... (by jpeg)
how to use source code
 
hi.i want to learn some game programing with seen other people source code .i think it is very useful.im not so beginner in programming,but have some problems ...
[6 replies] Last: A very good place to start is actually over at the pygame Python+SDL... (by Duthomhas)
#ifndef problem
 
Hi I get a unterminated #ifndef error when I'm trying too compile this header file: #ifndef PHNUMBERS_H #define PHNUMBERS_H typedef unsigned long int numb...
[2 replies] Last: Ah! Of course! Thanks :-) (by liengen)
Any advice on the following program?
 
I've just made a simple hangman game and I'd like to know if there's any where I can improve on this. #include<iostream.h> #include<conio.h> #include<string...
[7 replies] Last: STL = Standard Template Library. It provides you containers such as... (by jsmith)
2 dimensional array-crash?
 
Hello, I'm very new to C++. I hope you guys can help me out. I'm trying to declare the variable 'charmap': #include <iostream> using namespace std; i...
[11 replies] Last: Not just "bigger". Much bigger. In fact, most of the memory installe... (by helios)
Understanding pointers and structures in <ctime>
 
I'd like to put a date and time into my program, but I'm having a hard time understanding the functions in <ctime> like time(), localtime() and so on. I've also...
[5 replies] Last: No. localtime() takes the value of its parameter and fills with it a g... (by helios)
Pointres question
 
Hi I am totaly new at C++ programming.I have a question about pointers. when you declare a pinter you do something like this int *a; If you dont write...
[6 replies] Last: A pointer is a variable that hold memory addresses of other variable... (by gAaRa)
what the error in this program?
 
#include<iostream.h> #include<conio.h> float q1,q2,q3,q ave,km,miles,reg,des,discount,z; int b,c; char fn ,ln ,sn ,mn ; main() { clrscr(); goto(45,15); ...
[1 reply] : Firstly, next time you post your code use the format, it makes it ea... (by Umz)
debug
 
how to debug a expression syntax error
[1 reply] : This question is too ambiguous, whats the error? (by Umz)
IO liturature suggestions
 
hello, I'm interested in more advanced input and output methods such as visual programming. while online tutorials are always great i prefer books since there a...
[no replies]
function template program assignment
 
I have a homework assignment and the professor is very hard to understand. He hasn't taught us anything yet and expects us to know how to do this from learning...
[10 replies] Last: nope, didn't work :-/ I have no clue lol. Its okay tho, I'll figure ... (by yoitboy)
Code organisation
 
Yello, I always try to oraganise my code into functions just to make it look better and have main() be much smaller. I thought it would make things easier to ha...
[5 replies] Last: Yello, I always try to oraganise my code into functions just to make ... (by Zaita)
.h files
 
I am not sure i understand these header files. I have a program that I need to combine with another function in a seperate file. Do I just make a file with th...
[1 reply] : You do not "call" files at all. Basically, you put them all in the sa... (by firedraco)
by hadi
using predefined classes
 
hi should anyone please tell me what following line means ? list <int>::size_type i; thanks
[6 replies] Last: thanks a lot now I understand (by hadi)
Simple coding problems part 1
 
This is my code. I am to have the user choose a number of random words and have the program create those words. The words meaningless but the problem is getting...
[3 replies] Last: Huh. You're right. I didn't know that. (by helios)
September 2008 Pages: 1... 910111213... 16
  Archived months: [aug2008] [oct2008]

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