General C++ Programming - November 2011 (Page 45)

list<...>::iterator question
 
I have a list of triangles. Each triangle points to three other triangles. Is there a way I can ha...
[3 replies] Last: Just do tritr2 = tritr. I haven't understood you again. (by Syuf)
language name from language id
 
hi.. i've a language identifier and now i need to get the language name from that identifier. for e...
[5 replies] Last: #include <iostream> #include <fstream> #include <string> #include <m... (by Syuf)
by Tatipu
How do you create this function?
 
createItem (inv.item , "10300", "Nutella", "Ferrero", 10); How do you declare typ inv.item ? ...
[2 replies] Last: Maybe you should give us the declaration of the class (or struct) inv.... (by Jessy V)
Can't get program to compile
 
Got it fixed:)
[2 replies] Last: Maybe your problem would be easier to solve for us if we could see som... (by Jessy V)
void function not ignored as supposed to be
 
hey, i am trying to create a program to multiply two matricies, i am very close, just this one thing...
[2 replies] Last: yes! it works, cheers man, thanks alot, i knew it would be something s... (by Xendraw)
writing in binary file in c++
 
Hi folks, I had created a class for student. This is the class. class student { int rollno,m...
[no replies]
by mdoors
Linked Lists
 
Ok so i'm trying to write a function that will delete the first node in the linked list and headptr ...
[4 replies] Last: @ helios thanks for the help! sorry to get back late but it did work o... (by mdoors)
Help Please - C++
 
Hi every one, I have assignment that I am struggling with. Can anybody help me? The Purpose o...
[1 reply] : Ok so I am not quiet sure but I believe I figured out most part except... (by closed account NC5fSL3A)
by Tatipu
Structs and C-Strings
 
Alright so I have an assignment where I can basically only use functions from the string class and t...
[2 replies] Last: Thank you! (by Tatipu)
calculate the % difference between two numbes
 
I want a function that returns the the % differnece between two numbers. I got the formula from thi...
[6 replies] Last: Use the unary negation operator to flip the sign on a number. [code f... (by Duthomhas)
using functions/procedures and arrays
 
*****This is the program. I can't figure out how to enhance the program using functions/procedure...
[3 replies] Last: I'll help you out :) #include <iostream> using namespace std; int ... (by lothrodel)
What is the best way to create a 3D game map?
 
Hello all, I was wondering what the best way to create a 3D game map would be... At the mome...
[6 replies] Last: SFML+OpenGL is a good way to go. SFML is basically a replacement for t... (by bcthund)
by squik
Help with leap Year prgram please
 
#include <cstdlib> #include <iostream> #include <cmath> using namespace std; bool leapYear();...
[2 replies] Last: Remove the ; after the if condition in leapYear ;) (by Kenneth7)
Find an array index before and after a certain value
 
Alright, just like the title says I am trying to find the index of an array's value that is before a...
[3 replies] Last: the second if statement uses lowerAngle + 1, are you 100% sure lowerAn... (by ceruleus)
Quick Help with my HW?
 
My friend referred me to this site and wanted to know if you could find out whats wrong with my home...
[1 reply] : int getNumberOfPatron(y) Remove the y and it should work fine (by Kenneth7)
Writing Hex into data file with given offset
 
I am pretty new to dealing with hex in programming, and have been running into some problems. I n...
[no replies]
Get key (1,2)
 
Hello. I'm new enough to be called a beginner, but i have a good understanding of C++ so far. I'm ...
[32 replies] Last: ok. Thanks guys! Yall were a real help! I appreciate your time and ... (by IWishIKnew)
by kumard
Reading specific data from a file
 
I have a text file (say "data.txt") that contains some data in different columns. Columns are separa...
[4 replies] Last: @kumard Try this. #include "stdafx.h" #include <iostream> #include ... (by whitenite1)
build boost library for Windows in Eclipse
 
I has been trying to get boost into Eclipse. I googled some posts and it seems I need to build the b...
[5 replies] Last: Thanks. I have got it to work already. (by marlonmin)
Output question please
 
I have 2 codes that I need a screenprint of them when they show up on de command prompt, Im just hav...
[1 reply] : This is not an assembler forum, please post at http://www.asmcommunity... (by strongdrink)
November 2011 Pages: 1... 4344454647
  Archived months: [oct2011] [dec2011]

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