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

Help with setting up directx sdk with c++
 
I've set up the paths for the sdk(using visual c++) but when I use any of the sample codes from the ...
[10 replies] Last: Here is an example from my comp: C:\Program Files (x86)\Microsoft Di... (by codekiddy)
Visual c++ cannot find "resource.h"
 
When ever I compile my project it cannot not find the "resource.h" I have directx sdk and windows...
[2 replies] Last: Normally resource.h is where you write your long, long long list of #d... (by LB)
Crash with structs loaded from file?
 
Okay so I was originally working on VB.Net 2010 and I was able to load the file successfully. Now I'...
[3 replies] Last: In here if (s[s.length() - 1 ] == '"') s.erase(s.length() - 1,s.lengt... (by not2betrusted2)
selection sort
 
Hi, I am trying to get my selection sort to work and I wanted to debug to ensure it's printing the c...
[6 replies] Last: Did you notice that I updated my previous post? You should always call... (by Peter87)
How do I create a random number of some distribution in Visual C++?
 
I haven't found any clear and concise information on this specific topic, so I'd like to ask this re...
[6 replies] Last: Thanks :) RE rand_s() ; I have it on good authority that the Visua... (by ausairman)
int and long
 
I am using Windows 7 64-bit and at first I didn't know why when I used sizeof for an int variable an...
[5 replies] Last: I think the wikipedia article simply named "64-bit" gives a very good ... (by Cubbi)
Help with include file
 
When ever I compile my project it cannot not find the resource.h I have directx sdk and windows ...
[1 reply] : http://www.cplusplus.com/forum/general/59234/ (by codekiddy)
by lolfoo
Checking if a point is inside a circumference?
 
enter radius: enter x: enter y: enter x for the point to test for: enter y for the point to test...
[1 reply] : Check if the distance between the point and the center of the circle i... (by Peter87)
by bruice
Vector <int , 2> i
 
As we all know, vector is a kind of sequence container. there are declared like that: vector<type> ...
[1 reply] : Sounds like a typo from array, as in std::array<int, 2> i; , in whic... (by Cubbi)
Xor encryption
 
Hello there, I made a simple xor encryption algorithm. Now i hve this small question: can i use x...
[3 replies] Last: You should read the file in binary mode. Don't use getline because tha... (by Peter87)
Use a shared library in a project (CodeBlocks)
 
Hello everybody This one goes for those using CodeBlocks (but not only) So, I have this GUI projec...
[1 reply] : I found my answer here already: http://www.devimperium.info/c_plus_plu... (by alexbnc)
Dereferencing Confusion
 
The below is an array of pointers, and a pointer to the array of pointers. Currently I'm getting seg...
[7 replies] Last: The solution WebJose posted seems to have worked; I did check your sol... (by tescrin)
32 bit & 64 bit optimization?
 
Question: How can I make programs that run better for different operating systems? (64bit and 32 bit...
[2 replies] Last: False rumor. The compiler may run faster if it is a 64-bit compiler, b... (by LB)
confusion with char and pointer char
 
Hi, I am a little confused with difference and usefulness of: char list vs char *list Is is t...
[9 replies] Last: I have only ever used character arrays when I need an array of values ... (by LB)
by Tresky
Mandelbrot Fractal
 
I've searched Google and looked at many pages, but no one really explains it well. Could someone try...
[2 replies] Last: Oh. Okay, so you would just simply calculate calculate how far away an... (by Tresky)
SFML C++ polygon wont change position
 
Hi Ive made a polygon collision detection function and I want to test it, but in SFML when I use ...
[no replies]
why do i get this error?
 
http://s1236.photobucket.com/albums/ff451/threatn/?action=view&current=Capture3213.png why do i the...
[12 replies] Last: The code is C, compiled with a C++ compiler. conio.h is a non-standa... (by closed account 1vRz3TCk)
Word Error Rate
 
Hi, I was wondering if there is anything in C++ that deals with sentence matching and scoring, witho...
[4 replies] Last: andywestken nailed it. I should have googled natural language ... I ... (by ITPhoenix)
Urgent!!C++ task solution needed.
 
Task 2 Develop a C++ application which will perform the following tasks: • prompt the user t...
[12 replies] Last: [quote=raheel92]Thanks for not cooperating :/ You could have at least ... (by webJose)
Moving Sun behind Mountains
 
Hello there i use Graphic library and draw mountains and sun. i want move sun behind mountains and ...
[7 replies] Last: The code for those of you unable to download: #include<dos.h> #inclu... (by Disch)
January 2012 Pages: 1... 2223242526... 36
  Archived months: [dec2011] [feb2012]

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