Beginners - March 2008 (Page 6)

by JB940
help with reading a file,
 
ok i'm kinda new to this, i wanted to make it into a dll and then let it change memory of a game >.> this what i'm gonna post is COMPLETLY wrong and i jus...
[3 replies] Last: ok ty, now i got it down to 1 error, (43) : fatal error C1010: unexp... (by JB940)
by senek
why warning ?
 
#include <list> typedef unsigned long u32; template<typename T> class exList : public std::list<T> { public: typedef std::list<T>::iterator Itera...
[4 replies] Last: It's look like a composition and in this case I need to declare and de... (by senek)
by umen
How to return void function pointer
 
Hello all im trying to build function that will return void function pointer what is mean is ( not working ) the main function void * myClass::getFunction(i...
[1 reply] : This is how to use a function pointer, but it only works with global f... (by ropez)
Problem with including files
 
I have the following setup: Folder C contains... 1. Folder A - A.cpp 2. Folder B - Folder B1 - B.h In A.cpp, I need to include ...
[1 reply] : Try #include "B/B1/B.h" and make sure the project's root folde... (by ropez)
taglib with mingw on eclipse with qt integration
 
hi, i'm trying to write a project that uses taglib to read tags from music files, i've been trying all day to get taglib working right but i'm failing miserably...
[no replies]
Conflict with cin() & pthread
 
I created a thread named thread which calls the function run(). Inside run, it's supposed to ask for user input. However, when I execute the program, it simply ...
[2 replies] Last: Thank you ropez =) (by unclefester)
The 'right' way to exit a program?
 
Was is the 'right' way to exit c++? Using: exit(0) return 0; or?
[no replies]
using switch statement help
 
here is my code. Here is a quick review of what i need to do: open a file of a list of numbers and get the first number and tally it for that number. Ex. number...
[no replies]
rand() and srand()
 
how can I get a number at random from the following set of numbers which are not consecutive . 2,4,6,8,10 Thanx
[1 reply] : (1+rand()%5) * 2; (by ropez)
by kelcmh
UDP client-server model
 
I wanna ask the reason why the server cannot read the file name entered by the client. Please help! /* a client in the unix domain */ #include <sys/type...
[no replies]
by maxac
command for run a file
 
pls I need to run file in C++,but I dont know a command pls help
[2 replies] Last: maybe this helps you;) /* system example : DIR */ #include <stdio... (by guruplus)
Operator Overloading and Copy Constructor
 
I have the following c++ code. My problem here is that copy constructor also gets invoked when i try to call the assignment operator... In the below source ...
[9 replies] Last: Thanks must also go to Ropez. :0) (by closed account z05DSL3A)
Arrays vs. Vectors??
 
what advantages do arrays have over vectors? from what i have been reading, it seems that vectors can do everything that an array can do, but alot easier. so wh...
[7 replies] Last: For simpler understanding array is static and vector is dynamic, which... (by cva)
by cva
what is (void**)..help me!!!
 
hiee....what is the meaning of (void**).thank you.
[1 reply] : TESTHR( HRESULT _hr ) { if FAILED(_hr) throw(_hr);.....what is the mea... (by cva)
by tomao
Global struct in Function?
 
I have made my own data structure, and I need to create a variable with that structure. My problem is, is that I need to declare the variable so that it can be ...
[2 replies] Last: Ah, okay, thanks you very much. (by tomao)
by cva
what is COM?
 
hie guys....anyone there with notes on COM...im beginner to COM...do help me.thank you.
[2 replies] Last: thanks grey wolf. (by cva)
by Rope
Trim a string
 
Hi I'm new to c++ and I'm trying to trim a string from all the spaces it has. But so far I've had no luck at all. So this is an example string " bla bla bla ...
[13 replies] Last: SteakRider That does not do what was asked for! AND it's a macro ... (by closed account z05DSL3A)
need help with Goldbach's Conjecture!
 
I can't seem to get this code to work: it needs to find the sum of two prime numbers, and I need to do it it without any scanf or printf implements. Thanks to ...
[1 reply] : I have made a few minor changes to the for loop for (p1=2; p1 ... (by closed account z05DSL3A)
Help with fread
 
Hi, I have a code that reads a binary file with fread. Because of the size of the file I need to save the results of the calculations say every 1Gb of read dat...
[no replies]
24c32
 
Hello All THis is my first post,My project is a fairly simple one. I have a device which contains a 24c32 chip. The chip has 50,000 shots on it. Obviously w...
[no replies]
March 2008 Pages: 1... 45678... 15
  Archived months: [feb2008] [apr2008]

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