General C++ Programming - January 2012 (Page 10)

by sab
Using jwsmtp
 
Hi guys I have installed and configured jwsmtp such that a file called libjwsmtp.a is crea...
[3 replies] Last: Dunno, never used CodeBlocks. Maybe someone else can help. The com... (by kbw)
by arefe
Code showing error
 
Dear folks, I tried to run a c++ project that I made in Code blocks. I got it from my supervis...
[5 replies] Last: Your compiler is complaining that it cannot find the file /opt/tbb30... (by Moschops)
HELP! Drawing a Diamond
 
Hey guys, I have a project due for school, we have to draw a diamond using for loops, i've got it al...
[3 replies] Last: great !!! Now what should this Draw() do? From the name I think you ha... (by subith86)
Can't see typedef
 
Hi people! I have this program, and I have problem with it... // File: fs.h /*...*/ struct Entry {...
[no replies]
Where is my error?
 
I work on C: #include <stdio.h> #include <stdlib.h> int a,b; int add(){ return (a+b); } in...
[10 replies] Last: I given an example.I want to be my array's element item 3,4,5,50,638..... (by Helegurbann)
by Anitha
opencv error
 
Hi, I am doing project using opencv and cuda, If I debugg my code it works fine, but when I star...
[no replies]
Garden Gnomes,,,,,
 
how do i set the font style within this code? #include <windows.h> #include <stdlib.h> #includ...
[9 replies] Last: heres a link to a screen shot of what i have so far http://i.imgur.com... (by Echo773)
by Mats
True Random Numbers
 
Is this possible in C++? They really do need to be very random. It's for a test that will go through...
[1 reply] : Yes, but only if the underlying hardware provides some sort of non-det... (by Cubbi)
Information required to format the output
 
Hi, I was stuck in simple thing. Please don't mind replying for this simple stuff it will avoid was...
[2 replies] Last: Yeah thanks for your valuable response. Thought any inbuild function ... (by sunilchintu2468)
writing expressions in c++
 
How would the following mathematical expression be written in C++? (x is a volume) Note: the la...
[1 reply] : That looks right (except volume needs to be defined.) You just need so... (by Mathhead200)
Pseudocode
 
Does everyone that wants to go into the gaming industry use Pseudocode before writing a application?...
[4 replies] Last: Thanks Luc Lieber very much appreciated. (by Ryan Wilson)
bubblesort help
 
Hi, I don't see why my bubblesort for [3,3,2] sorts to [2,2,2]! I did not use any existing pseudocod...
[2 replies] Last: Holy crap! Thanks! I can't believe such a dumb mistake! It's working f... (by closed account 4ET0pfjN)
Problem in struct date
 
int d1, m1, y1 ; struct date dt; getdate(&dt); d1 = dt.da_day ; m1 = dt.da_mon ; y1 = d...
[2 replies] Last: Thanks you solve the problem (by Dinesh subedi)
by fcao
Can anyone tutor c++?
 
I have been unsuccessful at finding a tutor around where I live for c++ programming. I was wonderin...
[4 replies] Last: This is exactly what this site is for. Just post your questions publi... (by moorecm)
nested template type casting
 
I'm trying to figure out how to add typecast operator to the following nested class to allow the mai...
[4 replies] Last: yuck, ¿what is that code for? (by ne555)
Error, can't find whats wrong
 
I can't find what is wrong with my code: ... typedef struct { unsigned char r; uns...
[no replies]
Infix-to-Postfix Expression Conversion
 
So here is the assignment I have to complete within the next hour that I've procrastinated way too l...
[no replies]
by Bobu
How to store variable's "exact" value?
 
Hey, I hope I'm able to explain my programming issue clearly: I have written a solver for diff...
[5 replies] Last: @JLBorges: Thx for your reply!! I'm aware of that, that the very exact... (by Bobu)
AI issue
 
Hello, in my SDL 2D game, my enemy bot needs AI for "1: running away" and "2: chasing me". When he ...
[4 replies] Last: Pathfinding will give you the path between two points on your map. Whe... (by Peter87)
by AsmGuy
cout << and Addresses
 
Can anyone tell me where I'm going wrong here? Basically trying to view the address inside of a p...
[5 replies] Last: Thanks everyone. Much appreciated. Took me a bit to recognize the <<... (by AsmGuy)
January 2012 Pages: 1... 89101112... 36
  Archived months: [dec2011] [feb2012]

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