General C++ Programming - November 2012 (Page 21)

by Bojana
Conversion of obj to dae file C++
 
Hello everyone, I am quite new in the C++ language and I have a question. I would like to write a pr...
[3 replies] Last: Yes, this is a request to transform the 3D data file format obj to 3D ... (by Bojana)
Accessing members of an array using members of a second array
 
I've been working on a c++ graphics program, and I've run into an interesting problem. the basic ...
[7 replies] Last: crash could be because of either 'mesh.normal ' or 'normalInd... (by tgiec)
File Display Program
 
I have a program challenge for homework that asks the user for the name of a file. The program shoul...
[3 replies] Last: while(!fin) { cout << "Error Opening File! Re-enter File Name: " ... (by Imadatobanisa)
rainfall dryest and wettest
 
#include "stdafx.h" #include <iostream> #include <string> using namespace std; int getRainfallDat...
[2 replies] Last: return rainfall ; Also it causes a crash. (by Imadatobanisa)
A Function inside a declared namespace will not work.
 
1. I have this class declared inside a namespace and is in a header file called "date.h" as shown. ...
[4 replies] Last: Making class is same as making a brand new user-defined "type". Compil... (by kg1992)
by hudak
half program is working it is working for firs two not for last 2 it stop working after or during secong do while second do whi
 
/* Qamarulhuda Khairullah */ /* EGR 126 Computer Programming for Engineers */ /* Dated: 11/1/2011...
[1 reply] : do ... while loops are not correctly the way you use it here. Use swi... (by coder777)
C++:C-Style String?
 
I'm writing a program that encodes. It must first read the data from the file into a large c-style s...
[3 replies] Last: C style string is also called Null-terminated string, which means if y... (by kg1992)
C++ input validation
 
During winter when it is very cold, typically, everyone would like to know the windchill factor, esp...
[10 replies] Last: It is working now after getting rid of the mph % 3!=0 thank you!... (by nyaeggy)
by tanny
Assistance needed desperately :(
 
I just started out with C++, really a beginner here. And is really desperate for help now. Would rea...
[5 replies] Last: Recheck your structure. I pretty sure some of defined functions are mi... (by Imadatobanisa)
getline() help
 
I'm working on this assignment, and my teacher asked us to use the getline() function. I'm still n...
[4 replies] Last: I figured it out, I had to have let as an array rather than a varia... (by mckizzlealmond)
by lmd141
Inputting data from text
 
Hi there, I'm trying out something new too me (reading data from a text file) and are having a few p...
[2 replies] Last: Thanks very much, I sorted it! (by lmd141)
Dynamic Programming in C++
 
Is there any website/resource to learn Dynamic Programming in C++?
[no replies]
Start with c++?
 
Hello, is it possible as a 15 year old to learn c++ as my first programming language ? I have no pri...
[5 replies] Last: First, rethink yourself. Making a program is the same as solving a ... (by Imadatobanisa)
by vinu
Best way to compare structure members
 
Hi.. I am writing a console program which will take a set of data and compare it to the database ...
[3 replies] Last: Any way you can think of that would tell differences would work, turni... (by CatmanFS)
Prims Algorithm Question
 
Hey Guys, Have a bit of a confusing question regarding Prims algorithm. Does Prim's Algorithm wo...
[1 reply] : ¿how do you intend to modify it to apply it to directed graphs? (by ne555)
Allegro 5 problems
 
*NOTE THIS IS IN VC2010; I have been recently trying my luck with allegro 5 and, although simple co...
[2 replies] Last: *EDIT: I reloaded the symbols in the debugger and now I get this : ... (by Theodor Purcaru)
String to Decimal
 
Hello everyone..... I had a question how I'm converting a string to decimal. It works fine but when ...
[2 replies] Last: This code is unnecessarily complex: for(int c = 0; c < binary.size()... (by vince1027)
yes or no loop
 
ok so there is a question that tells me to make user chooses whether he wants to try a program or no...
[5 replies] Last: @Omar I can't do the loop.... quiet confusing.. How did you get on... (by TheIdeasMan)
How to change where a pointer points to? C++
 
Hello again, I have yet another issue that I can't seem to get around. I have a class called n...
[7 replies] Last: Thanks Vince! (by jazztrmpter)
November 2012 Pages: 1... 1920212223... 51
  Archived months: [oct2012] [dec2012]

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