General C++ Programming - April 2012 (Page 34)

by Gldnbr
Getting operator sign
 
I'm trying to create a program that will solve a math problem, I have to do it the long way. How ...
[4 replies] Last: When you have the location of +, split the string at that point, evalu... (by hamsterman)
Simple ASCII problem I can't figure out.
 
Predeclared variable works, so if one comments out the cin statement, it goes through until the end....
[2 replies] Last: The exercise specifically asked me to use a character string. I am not... (by DryRubberChicken)
reading data from a file and storing it in variables
 
#ifndef SEARCH_H #define SEARCH_H class Search { private: int ID; int Health; double E...
[2 replies] Last: thepedestrian thanks for the reply. I have those values stored in a t... (by begin81)
arrays of char
 
hi,this is my first appearance in forums in English, why I need your help to explain me and fine the...
[1 reply] : We can't solve your homework. That's simply against the rules of the f... (by TheDestroyer)
by Yousra
The Problem : Simulation of Waiting Queue
 
I have this Problem as an assignment : An airport has one runway. When a plane arrives near the air...
[no replies]
Binary Tree
 
Hello! I need to make a binary tree that contains names and numbers. I'm pretty sure I got most of ...
[3 replies] Last: Ok so I have looked over my code a little more and this is what I came... (by klrocks92)
Help with openGL texture - please help
 
Hey, so I've just hit the wall with textures in openGL (C++.) I've tried hundreds of different examp...
[5 replies] Last: Wow, what a rookie mistake! OH MY GOD, IT WORKS. Don't take this in t... (by desoxena)
Help with understanding how to create this pointer
 
Ok so let's say I have a pointer of type TreeNode called root . This pointer points to the beginnin...
[3 replies] Last: Oh, okay. In that case you just have to delete what's at the end of yo... (by BlackSheep)
Segmentation fault error
 
I am getting a segmentation fault error in this code taking an infix expression to a postfix express...
[3 replies] Last: Do you not have any idea where the error is? Try using breakpoints to ... (by BlackSheep)
Help With Classes
 
I'm trying to write a class to figure out the parameters for a rectangle or arch window. I need some...
[1 reply] : You need to declare the data as a member of the function. For example:... (by BlackSheep)
Problem with either something pure C++ or something SDL_net
 
I'm on the edge of a mental breakdown right now, so I can't explain much, but basically commenting o...
[2 replies] Last: char *test[sizeof(strtok((char *)p->data, " "))]; _ ¿why do you nee... (by ne555)
Function Pointer in a class pointing out of the class
 
Hello I'm working on a project where I need to use a function pointer in a static class member that ...
[14 replies] Last: Thanks so much! I got it working now. (by SH4773R)
by ggally
Copying Arrays using Pointers
 
I need to write a program that stores the following #'s in the array miles: 15,22,16,18,27,23,20. Ne...
[4 replies] Last: Sorry I am having trouble understand pointers and arrays! (by ggally)
Switch from parallel arrays to array of structs, identifier promlem.
 
I'm trying to switch a code that was set up with parallel arrays to use an array of structs instead ...
[no replies]
Need help with pointer question!!
 
Write a function that reverses the values of an array of floating-point data: void reverse(double* ...
[1 reply] : start with this... float *ptr1; float *ptr2; ptr1 = a ; ptr2 = a[si... (by oonej)
by oonej
BinaryTrees
 
Hey guys, I'm taking a data structures course and today we went over binary trees... I got the co...
[2 replies] Last: this is how they provided the file... this isn't my code (by oonej)
Menu
 
Hey all i would appreciate any help here. I had to create a menu and did so, but the problem is ever...
[1 reply] : Try to use cin.clear(); after cin>>order; (by vlad from moscow)
C++ programming
 
Hi. I'm new to c++ and I want to know about how the object-oriented concept of reusability relates t...
[no replies]
by glazer
censoring a word
 
Hello. I need to write a program that reads from a text file that has a couple words(5-6) and creat...
[5 replies] Last: Thank you. (by glazer)
by rollie
Interview, need to brush up
 
I have been vacationing a while lately, and may have a couple interviews in the near future. I want ...
[3 replies] Last: In the past I've been contacted by a couple of big recruitment agencie... (by kev82)
April 2012 Pages: 1... 3233343536... 49
  Archived months: [mar2012] [may2012]

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