Beginners - August 2010 (Page 23)

I am new to this how do I fix these errors?
 
Here are the two errors i am getting. Now I know it has to be something completely stupid and simple but I am not seeing what is going wrong here. Warning 1 ...
[6 replies] Last: Ok I got that, yeah that was lack of sleep and stupid mistake. Thanks ... (by iamtito)
Primitives using Structures
 
struct eVertex { float X, Y, Z; }; eVertex eVertices ; uint eVertices_count = 0; void primitive_E_vertex(float x, float y, float z) { eVertices ...
[6 replies] Last: Oh that just saved me. Thanks! I was having problems with the array :... (by fruitloop2222)
Turbo c++
 
There are lots of IDE but I want to know why does a programming instructor recommends the use of Turbo c++? On the other hand, I think Dev c++ or Code:Blocks is...
[4 replies] Last: I see there is no any special reason. Thanks. (by mainframe639)
linked list query
 
write a function that inserts a node at the beginning of the linked list and a function that deletes the first node of the linked list. please do code in c o...
[2 replies] Last: This is actually my first post, but I think i could be a bit of some h... (by beans)
Easier OOP guide?
 
I'm finding OOP a nightmare right now as every resource I find tends to use all the technical jargon without just explaining, in plain English what things are, ...
[4 replies] Last: Many books miss the basics of Object Orientation, focussing on one asp... (by closed account z05DSL3A)
Problem calling values from Dynamic Array
 
Hi, Here's a small piece of code I made for a dynamic array. I dont know if I am taking the best approach, but looks like its work in a rather simple way. Di...
[8 replies] Last: That's because it replicates existing posts of others. (by Athar)
Looking for a simple GUI
 
Hi,I have recently begun studying C++, and I am having trouble with getting a GUI to work. I am using the Dev-C++ compiler.
[5 replies] Last: Well, clearly you are missing a file that is required for the program ... (by Zhuge)
Pointer Sort Issue
 
Hi!:) I am working on creating a binary search program. Before the search, though, I am supposed to sort the names (input by the user) alphabetically. I wrote t...
[2 replies] Last: That was it! Thank you so much! (by LotusEater)
Primitive Vector (Direct3D)
 
The problem happens when this is executed: primitive_vector.push_back(new_primitive); With the constructor here: primitive(unsigned int verts) { vert...
[3 replies] Last: Do you ever set the pointers to anything valid? (by Zhuge)
by x loto
Transferring Dev-C++ project to Code::Blocks--unexpected errors
 
Hi! I've just installed Code::Blocks, and I imported my current Dev-C++ project into it and tried to compile it, but received a few errors. Specifically, the fu...
[5 replies] Last: What other headers a particular header includes is not defined in the ... (by helios)
Problem "Glueing" terms
 
#include <iostream> //#Includes begin #include <windows.h> ...
[7 replies] Last: Figured it out now. (by b1gb0y2013)
Template specialization.
 
Hi, I'm currently working my way through "C++ Primer Plus 5th-Edition" by Stephen Prata. However, I'm stuck on Question 5, chapter 8. I can't seem to get th...
[4 replies] Last: [quote=Skillless]i suppose you can call template functions without pas... (by Zhuge)
Problem with my Queue coding >> if else and while loop
 
anyone can help to solve this ? #include<queue> #include<iostream> #include<ctime> using namespace std; void wait (int seconds) //timer { clock_t ew...
[3 replies] Last: That's an constructor with an initializer list. However it seems odd i... (by Zhuge)
Getting an object to exist out of scope
 
I have a program which roughly works like this: //an object class class MyObject{ } //function makes the object MyObject *SomeFunction(char fileName )...
[9 replies] Last: it's also const char for string literals and not char ... (by Disch)
How are class functions stored in memory?
 
class MyClass{ int x; public: int GetX{return x;} }; Questions: 1. If I make ten class MyClass objects, does it store ten copies of the in...
[3 replies] Last: Awesome, thanks guys. (by Chemical Engineer)
new
 
Hi . I want to create a new line after 80 character without Enter ( create new line ) how can i solve this ???????????
[6 replies] Last: You mean word wrap? In a console it wraps automatically but if you wan... (by Fsmv)
Text dont show up.
 
Hi i'm very new to c++. I have a problem that the text that i print does not show up in the exeutable it only shows the press anykey to continue text. the c...
[2 replies] Last: Thank you bazzy evrything works now :D (by piggekott)
Is there an Onkeyrelease comand in Dark GDK
 
is there any on key release commmand in Dark dgk. I'm trying to get my character to play the facing left animations after the play has pressed the moving l...
[1 reply] : Sorry that some of the notes are a bit messed up (by Blessman11)
by bncc
use printf and strcmp with const char*[] (const char arrays)
 
here's my problem: I have this code const char* Name = (const char*) method()->getName(); //this returns a lpcwstr, that's why I cast it const char* S...
[4 replies] Last: ok, thank you very much for your answers, they've all been very useful... (by bncc)
am trying to make a check
 
am trying to make name check if it's 'Abanoup' it says it works if not it says didnot but i have a prob #include <iostream> using namespace std; int...
[11 replies] Last: thnx bro :) that's all right. (by zhiyuanhou)
August 2010 Pages: 1... 2122232425... 28
  Archived months: [jul2010] [sep2010]

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