General C++ Programming - April 2010 (Page 22)

using ints created in one cpp in another
 
Is there any way of using ints that you have created in one cpp file in another cpp file Any he...
[17 replies] Last: if you would use the energy and lives as the above code then, it must ... (by blackcoder41)
Optimising Merge Sort
 
For a bit of fun I coded my own implementation of the merge sort algorithm, after watching a lecture...
[6 replies] Last: All great info...thanks guys! (by sammy34)
win32 syntax
 
i am learning windows programming lately, i just wanna ask, isn't it that the syntax of a function i...
[9 replies] Last: thanks, but i feel like my question is already answered.. but i think ... (by blackcoder41)
Have you ever created a game with C++?
 
After 5 days of coding I finally finished my first C++ video game. I used windows.h to create shapes...
[2 replies] Last: A good project is never finished Great! Now I have an excuse for neve... (by hamsterman)
by qabil
better language (1,2)
 
friend.. wIch one is better.. learning c++ until expert level..or learing csharp using visual stdi...
[28 replies] Last: thanks, another knowledge from you. i'll remember that. (gregorian cal... (by blackcoder41)
C++ Load Images?
 
So C++ can load images and then use them? How do I do it then, I propably have to use LoadImage or L...
[2 replies] Last: actually i have been playing with windows.h shapes and a little with O... (by Kondziu)
Global namespace error
 
I'm getting this error in the file math.h: Error: 1> c: \ Program Files \ ogresdk \ nxogre \ d...
[1 reply] : Is solved. I had to clean the project to adjust first. The probl... (by dokfiler)
by maikel
Zero Memory in C++
 
Hey, i am a little confused. I want to initialize a struct, so it will be zero'd. But here is th...
[5 replies] Last: I found an interresting link: http://www.fnal.gov/docs/working-groups/... (by maikel)
Could someone give short simple example of using threads?
 
I'm trying to make a simple program, but I need to use threads for that. Could someone give simple e...
[9 replies] Last: ahh ok started to work with WinAPI and almost got my program working, ... (by Kondziu)
How do I make this program work how I want it to work?
 
this is the program: #include <iostream> #include <windows.h> int main() { int n=1; ...
[6 replies] Last: int main() { int n=1; while (n<20) { Sleep(500); std::cout << "... (by choisum)
Does anyone have an idea on this error "error C2248"
 
When i want to create a fonction that opens file and write into it i get this error.I have tried to ...
[11 replies] Last: Hey guestgulkan,im really greatful to you.Thank you so much. Have a ni... (by badiparmagi)
by JRevor
`_IO_FILE' was not declared in this scope
 
I'm using a Huffman compression library implemented in c , and I'm having the following compilation...
[10 replies] Last: @ mofochickamo Sorry about that. (Let me try to pull my foot out ... (by Duthomhas)
Linked List Problems
 
Hello everyone! I am currently working on a linked list program that asks the user to enter numbe...
[1 reply] : cout << "Please enter the value you would like to search for in the... (by screw)
by qabil
sending mail
 
who know the code that can sending mail to my acount??? help me please...
[14 replies] Last: roger That (by qabil)
Linked Lists
 
Hello Everyone! I am currently working on a problem that requires me to search a user entered lin...
[4 replies] Last: 1) The STL has an already implemented doubly-linked list with full C++... (by closed account S6k9GNh0)
Stacks&Queues Linked List [Problem with pop and deque]
 
Alright so it works fine, but the proble is that it pops/deques out all the elements instead of one ...
[6 replies] Last: I know. Sorry if I seemed mean O.o I didn't mean to. (by CuddlyBear)
Best way to store objects in a class
 
For one of my projects, we had to make a class called Rectangle2D. It contains 4 data fields. X and ...
[14 replies] Last: What do you mean by this, copy the line to either source sans the ex... (by BradyT88)
by Altar
Puzzling error
 
#include <cstdlib> #include <iostream> using namespace std; int main() { int n; ...
[2 replies] Last: Thanks! i got it working now! (by Altar)
Projet Laplace
 
Hello, I have an important project to my school in C++. I can not execute it. Does someone wan...
[1 reply] : What is this important project about? And what is it that you need? If... (by m4ster r0shi)
send output to a printer instead of the monitor.
 
Can anyone show me how to send output to a printer using C++?
[12 replies] Last: if you are using win32 api's then you can open the standard print dial... (by writetonsharma)
April 2010 Pages: 1... 2021222324
  Archived months: [mar2010] [may2010]

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