General C++ Programming - December 2011 (Page 15)

Linked Binary Tree with a vector
 
Hello guys, I found a closed topic about the Lined Binary Tree and its interesting for me how can I implement a vector in it, so the user will be able to choose...
[3 replies] Last: Hi again Dacster.Its interesting for me how this code can be modified... (by RachelAnderson)
graphics
 
anyone know were i can go to learn to program graphics? If it matters my compiler is code blocks.
[6 replies] Last: I recommend using OpenGL's Glut...Easiest thing I ever learned XD. (by Nathaniel Sheller)
[HELP] : I need hint/guide to do BOT POSTING
 
Hello Everybody I attempt to find a info for create a BOT POSTING with C++, but not found i want to know library command to connect my BOT into target app...
[1 reply] : Thats a big project and completely depends on what application you are... (by cscho0415)
Chess Queens on NxM board
 
Hi all..i have been trying on chess problems..the most faous one would be the 8 queens.. i Just found this one and am mind blocked on the algo : http://uva.onl...
[7 replies] Last: int width = 223, height = 100; for(int i = 0; i < width; i++){ f... (by hamsterman)
SDL imput problems
 
I have a class with input funcionality. For some reason it will not accept input... here is the code void c_Fiyus_Abilities::v_FiyusInput(){ //If a key...
[1 reply] : You have to pass the event as argument to the function. line 1: void ... (by Peter87)
Weird fstream state after open()
 
Hi, there, I've done a simple code to read a file from the disk. The user must enter the filename and my program tells her if there is a problem openning the f...
[3 replies] Last: thank you for your help. i need this too. (by weddingcoo)
OpenAL Help
 
I'm beginning with OpenAL. I already know OpenGL so learning the syntax won't be much different and I'm pretty experienced in C++. I want to make a basic pro...
[no replies]
Formatting and Sorting issue..
 
" Purpose of Program: I am trying to sort the array of struct Customer Rec data by the .outstandingBalance element and then trying to print out into a txt fi...
[2 replies] Last: thank you that helped to solve my issue of sorting. had to rewrite my ... (by computergi)
.exp and .dll
 
I don't understand this warning while building C++ DLL in VS2010: FXdeltaMT4DLL.exp : warning LNK4070: /OUT:FXdeltaDLL.dll directive in .EXP differs from out...
[2 replies] Last: MSDN says: /OUT:filename directive in .EXP differs from output filena... (by f16rocket)
Problem Running EXE using Compiled with Cygwin
 
Hi all, I compiled a .cpp program using cygwin in net beans IDE. I am able to run the executable on my machine, but for some reason it won't run on another m...
[3 replies] Last: Thanks all! I wonder if netbeans has a setting to automatically de... (by readysetgo)
Waiting for an .exe to execute
 
I'm almost finished with this project, and this forum as been invaluable, but I have what I hope is one final problem before I put the final program together. ...
[4 replies] Last: IIRC, createprocess () returns after the target process is created ... (by Duthomhas)
Opening an image file
 
I realize there are libraries I can download that would make life easier when it comes to dealing with image files but I'd like to know what's going on first be...
[6 replies] Last: I like Truevision TGA files better - BMP files have some oddities th... (by Duthomhas)
Force Template to be Subclass
 
Is there any way to for a template argument to be inherited from a certain class. template<class T> class A { T t; public: void foo(){ t.foo(); } }; ...
[4 replies] Last: since it needs to be able to construct/destruct the class ¿? I don'... (by ne555)
by Easelm
Problem with a 'string' 'for' loop.
 
Hello. I have a small issue, I guess. My code works, but it only gets the first string in my array. Here is my code: std::size_t found; const int S...
[8 replies] Last: the output would be Hello World if you want the single character y... (by Dacster13)
c++
 
Hello!!! I have a job select a substring that matches an entry of a real number with fixed and floating point numbers: for(i=0;i<=k;i++) { if((st1 >='0')...
[no replies]
i need a quick help plz..(Hash class)
 
im writing a HW a bout universal hashing H=((ak+b)%p)%n) with chaining but i got a lot of errors & it's making me crazy plz help me to solve errors #inclu...
[4 replies] Last: the idea is to make an array of pointers & when a collision occer i so... (by eng soso)
read doubles from file into list of pairs
 
hi, I have a text file which contains two columns (seperated by \t) of double values. I want to read them into a list<pair<double,double> >. is this possib...
[2 replies] Last: thank you, hamsterman! exactly what I wanted :) (by bibiana)
by tenaz3
Circular Include and dependency
 
i've this cenary: //Command.h #include "Game.h" class Command{ .... void findCommand(string command,Game &g); } //Game.h class Command; ...
[2 replies] Last: Oo! It works!! Thanks Peter87! (by tenaz3)
Need ADVICE badly
 
#include<stdio.h> #include<conio.h> #include<string.h> #include<fstream.h> #include<ctype.h> #include<dos.h> #include<graphics.h> void graphic() { int Driver,...
[18 replies] Last: Thanks a lot it worked perfectly.......I am truly in debt to u...... (by reliableboy2)
by tenaz3
Error when running =/
 
I receive this error : warning: can't find linker symbol for virtual table for `Pixel' value warning: found `typeinfo for Pixel' instead Classes: class...
[3 replies] Last: Thank about the help, but the problem was in design... (by tenaz3)
December 2011 Pages: 1... 1314151617... 39
  Archived months: [nov2011] [jan2012]

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