General C++ Programming - February 2009 (Page 10)

How to make something useful in C++?
 
OK, well I have been reading up on tutorials about C++ and have taken a college class on C++ programming (community college). I have read through everything in...
[6 replies] Last: 1. Download an open source project from your web site of choice (e.... (by kevinchkin)
Template, fixed sized array, assignment
 
Hello Programmers, I'm trying to get a simple class (called Buffer) to work but I'm having some troubles. What I want is to be able to assign my class a f...
[4 replies] Last: Hello jsmith, Thanks for the hint, that was just what I'm looking f... (by Korexio)
[SOLVED]Question about an exersize I'm doing.
 
Alright so this one I think I just been programming to much today and I'm missing something completely stupid. What I have to do is create a 2d Array that is a ...
[4 replies] Last: yes its just only a Onedimensional array... how come you are usi... (by raprap321)
Having trouble with BST
 
I have a project for school and i can't get my void insert function to work void insert(Tree *&Root, string crop, string framer, string color) { if (Root...
[1 reply] : This line does not do what you think: Root->data = crop, farmer,... (by jsmith)
by puddle
Cast to pointer-to-pointer-to-void
 
Hi, (This is for DirectX programming but is general in nature so I thought it fit better in this forum.) In section 5.2.4 of the book Introduction to 3D G...
[3 replies] Last: Probably a mistake. As far as I can tell, void * and void ** are ident... (by helios)
How to creat long long long int ?!!
 
hello every one .... i have problem to creat big int when i try to calculate factoril of 1000 , my program cant displaye this number . i try unsigned long ...
[6 replies] Last: You have to create your own type to go any higher than that. i we... (by gigamax)
understanding headers
 
I understand the concept of a header file. Store your basic definitions in one or more files relevant to your source file(s) to make compiling quicker and bug f...
[6 replies] Last: Thanks a lot all! Trying to study before attending college later this ... (by dcoyle3)
Having trouble moving square...
 
I am developing a program where a square moves from side to using a timer in OpenGL. It just goes to one side and stops completely still... I have made a cube ...
[no replies]
[c++] can someone double check me
 
basically, this is what i have to do: In case 1 for the switch (b) print a blank line, a line with the message:"Part I:" and a blank line. © Prompt the us...
[8 replies] Last: @raprap321: Your answer makes no sense. Please use proper English when... (by Zaita)
problems
 
I have a problem. i have a performance problem in my code. the code: class Document { private: FILE *pdb; public: Document ( cosnt char *f...
[1 reply] : Try using a profiler. http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
what's wrong with my code? (beginner)
 
// Program: map.cpp //Description:2-dimensional array game that has money, fighting, and a shop. //Date: 1/13/2009 #include "stdafx.h" using namespace ...
[4 replies] Last: arrange your codes well in order use other header files.... beca... (by raprap321)
String Stream Fail To Capture Double Numeric
 
Dear all, I have data that contain lines like this: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 223636 256838.120 They are tab separated. With thi...
[1 reply] : Try using the setprecision manipulator on line 28 (by Bazzy)
error C2065: 'colourFunc' : undeclared identifier
 
I'm trying to create a simple class for an OenGL project but my threshold.cpp can't seem to detect the existence of some strings. Oh, and I'm using Microsoft Vi...
[4 replies] Last: Thanx! (by rattlehead57)
looping proffesional needed ... h'elp pls
 
Hi , i m a beginner in C++ , and i am doing my assigment , i stuck when i want to process to the looping process ... Here is my question , // A company pa...
[1 reply] : http://www.cplusplus.com/doc/tutorial/control.html (by closed account z05DSL3A)
by akp
To access file from different machine in a network using IP address
 
Hi All, Can any one help me how to read a file from different machine on a network. I have only IP address of other machine as input.the machine which is re...
[1 reply] : This isn't a C++ question, so you'll have to lookup the details elsewh... (by kbw)
by olove5
plese what does errors means
 
c:\documents and settings\desktop\usearray.cpp : error C4335: Formato de archivo Mac detectado: convierta el archivo de código fuente en formato DOS o UNIX
[1 reply] : Compiler Warning C4335 Error Message Mac file format detected: p... (by closed account z05DSL3A)
by suchi
reading an image..
 
hi ....how to read a gray scale image into a 2D array? using vc++...
[1 reply] : Format? (by helios)
by raneif
another selection problem
 
i had another question... question: Write a program that prompts the users to input x-y coordinate of a point in a Cartesian plane. The program should then o...
[2 replies] Last: You should write some code yourself before asking for help. (by Zhuge)
Why not taking all inputs?
 
i have made this program for circular linked list. while printing stored data, it is not giving all inputs correctly. please tell me the changes to do in this p...
[5 replies] Last: Instead of checking for '\n' at each input you can try putting fflush(... (by SouravDutta)
by raneif
Selection problem
 
hye there...I have a question.. I'm the beginner of c++ programming. Question 1: In a right triangle, the square of the length of one side is equal to the s...
[4 replies] Last: ok...thanks everybody... i had found the answer (by raneif)
February 2009 Pages: 1... 89101112... 14
  Archived months: [jan2009] [mar2009]

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