Beginners - October 2008 (Page 15)

classes
 
This is the code i'm trying to define in scene.cpp but i'm stucked. #include <iostream> #include <iostream> #include <iostream> #include "scene.h" using na...
[3 replies] Last: Your scene.h and scene.cpp files should be added into your main ... (by Umz)
by chan
sizeof("hello")
 
Please explain me why sizeof("hello") return value 6. I think the string length of hello is only 5. Thank in advance! cout << sizeof("hello");
[2 replies] Last: Just to add a bit, sizeof is not the same thing as string length. ... (by jsmith)
program point of sale
 
,,,hi 2 evry one,im a knew member of this forum i just needed anyones help in our project 2 b pass 1 week from now,, our prof want us to make a simple program...
[15 replies] Last: Ok, your computer knows how to add l to itself and assign the result t... (by jsmith)
by ginaal
for a beginner on builder[tstringGrid1]
 
hi poeple.please i need oyur help i wanna know how to write in a "TstringGrind" on builder with the "edit"??
[no replies]
by kaisin
showing decimal place on tlabel->desperate!!
 
hi to all of the experts here, i am at my wits end. this is a very simple operation which i somehow could not solve basically i would need to tabulate the ans...
[3 replies] Last: 30/25 is 1 - because written like that both numbers will be taken as i... (by guestgulkan)
what are *cc and *hh files
 
what are *cc and *hh files and what are the differences between *cpp files
[1 reply] : There are several filename extensions that are recognised as denoting ... (by bnbertha)
by Roads
another tut question - classes
 
Here is the program: // vectors: overloading operators example #include <iostream> using namespace std; class CVector { public: int x,y; C...
[3 replies] Last: No problem :) (by firedraco)
Looping Problems
 
I have built a concert ticket purchase screen for my beginners class. The code itself is working fine, but I have to make the program loop if the user indicate...
[1 reply] : Use a while(bool) loop around the code you want to repeat, and change ... (by firedraco)
Yet another one of those "Unidentified" problems..
 
Firstly, this is the code: #include <iostream> #include <stdio.h> #include <stdlib.h> #include <string> #include <ctype.h> #include "stack.h" #include ...
[2 replies] Last: When you make a variable of type *r, you are creating a pointer to a n... (by firedraco)
a bunch of cpps in one cpp
 
Hi there For my class I have made a lot of little projects. My question is how can I group them in one cpp file, to be able to execute them one at a time. (now...
[1 reply] : A bunch of seperate cpps will probably be just as much as one big cpp.... (by firedraco)
Output Troubles
 
I made my HelloWorld program, but now I can't see the output. When I run my project, it flashes it in a box similar to the WinAPI window for about a quarter of ...
[3 replies] Last: In the thread I gave you, they said system("PAUSE"); is not good pra... (by bluezor)
by chiwah
Write a program to modify some bin file
 
I am just writing a program to modify some of the bin file.... I am want to use as console program my main aims is to fill some parts of data(i.e 100h to ...
[no replies]
invalid conversion from 'void' to 'LNODE'
 
Hi guys, this is my first time posting. I got this code from a book in my school library. I wanted to check it out but it won't compile. An error of "invalid co...
[2 replies] Last: thanks! (by bunz4890)
C++ Program
 
I have the following source code and for some reason I don't know how to use both in the same program. I know there is a void somewhere. Also I am having troubl...
[2 replies] Last: Its hard to understand what your trying to do, if you need both calcul... (by Umz)
by Umz
C2440, Array of functions in a namespace
 
Theproblem is that I have put all my functions into a seperate .h file in a namespace , none of them are in classes , its a big list of functions in various...
[2 replies] Last: Perfect, works nicely!!! Thanks alot!!! (by Umz)
by gAaRa
How to draw a rectangle/square & put text inside it ?
 
Hi everyone ; I need some input regarding how to put text in a rectangle/square made of '-' and other ASCII chars for the corners ? ; I have no idea of ho...
[no replies]
by ninpou
What went wrong?
 
Please help me fix this. The output should be like this Welcome to deal or no deal. Cases are 1 - 14 Enter case number: 1 Banker's offer is 10000 ...
[8 replies] Last: I think what jpeg is trying to say is that when you first use scanf(),... (by xabnu)
New to C++ but hoping for more
 
I have just started to learn C++. By now I am at pointers. I am hoping to finish basics at the end of October or sometimes this month. There's just one problem ...
[1 reply] : Basically, you can do anything with the standard libraries as long as ... (by xabnu)
by sg2008
Multimedia Viewer Publishing Toolkit
 
I have an old Visual C++ 1.52c project that uses a multimedia viewer project (.MVP). I want to recompile it, but I cannot find the tools. I think I need Micro...
[no replies]
map erase
 
hi everybody...... i have been trying to erase those pairs in map whose value is 0.......but the program would just stop working at that point....... here i...
[1 reply] : When you erase the iterator it will point at the next entry. So if the... (by Zaita)
October 2008 Pages: 1... 1314151617... 20
  Archived months: [sep2008] [nov2008]

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