General C++ Programming - October 2011 (Page 14)

How do I change the write time of a file?
 
I’m writing a program where I can make changes to a series of text file in a client directory, run the “extract” process which should notice which files i...
[3 replies] Last: This is an old "C", not even "C++", console ap that runs fine on Windo... (by PapaGeek)
by Srija
About Constructors
 
Hi....... Did the constructor automatically executed when we create the object and run the application????????????????
[2 replies] Last: thank u (by Srija)
by mar11
passing an argument
 
Hi all, I am a bit confused about configuring out the following problem. I have a declared Macro(within a singleton class) which takes a parameter and ge...
[1 reply] : St is a parameter. St is also the name you choose for your singleton. ... (by hamsterman)
HexDump
 
I have really no experience with Hex editing and such. I am working with this code I got from the internet to learn a little more. When I run it, it gives...
[2 replies] Last: Thanks so much! Thanks for fixing my stupid mistake. I have gotten a... (by jellyfishn)
by idol12
high and low
 
can anyone help me im just a newbie programer... and this is my problem i need a program that i can put a number then will prompt low if the value is l...
[5 replies] Last: Wait, I just realized what he tried to do. He's trying to read in numb... (by Gaminic)
by shamjs
undefined reference problem for a function
 
Hi All, im compiling my program in g++ ,it is reporting error as undefined reference to `svm_destroy_param' this is my sample code.... /*******svm.h******...
[4 replies] Last: i have edited my topic and included the definations (by shamjs)
Linklist and Templates
 
hi All I Have been Searching the Internet For A while Now And could Not Find A Good Answer. My Question Is Can We Make A Link List Of Which`s node Only Co...
[3 replies] Last: What I Am Trying to Do Is Posted Below But with a better logic i.e tem... (by waqifti)
Cross platform GUI
 
I was wondering if anyone could make any suggestions on which cross platform gui API i should use. Right now I am looking at gtkmm although, I want to be able t...
[5 replies] Last: @helios: http://qt.nokia.com/qt-in-use/story/customer/mathematica-by-w... (by Albatross)
Unresolved Externals
 
Hi, I'm trying to make a project solution out of the codes I found with OpenCV and C++. It also includes the QT framework. I think I have linked correctly ev...
[no replies]
question about passing a pointer to an array of objects into a function
 
Folks, I am new to C++ and learning how to use objects. I defined a object called credit and then created an array of credits. But when I pass this array to a...
[3 replies] Last: Hi, I actually found what I was doing wrong. Had to do with not usi... (by duggarm)
Difficulty getting my code to compile in g++
 
Messy as my coding style is, I feel this should be compiling in g++, so why might it not be? What options should I be compiling this with when I type g++ (for...
[2 replies] Last: I am unsure of your question, but I will try to answer the bet I can w... (by strongdrink)
Calculating averages and alignment issues
 
Hello, so I'm working on a program and can't seem to get it to work properly I need it to display this when run: Name 1 2 3 4 5 6 7 8 9 10 Lo...
[no replies]
Double precision problem
 
I'm writing a class for matrices. In this class, I have a function for getting the inverse of the matrix. I use gaussian elimination (with same elementary row o...
[3 replies] Last: Thank you for your answers. @ErocDu: correction to what you said: dou... (by TheDestroyer)
C++ Pogram help!!!
 
I am having trouble with a program I have written, it allows the user to enter starting number, end number and number per line, the problem is I want to add in ...
[1 reply] : Input validation: http://www.cplusplus.com/forum/beginner/18258/#msg92... (by Duthomhas)
Terminating a program
 
So im writing a program for the quadratic formula, and have everything except for something that will terminate the program if a letter is entered into a, b, or...
[3 replies] Last: You need input validation (to the rescue!)... http://www.cplusplus.c... (by Duthomhas)
by alhanz
Validating Float Values
 
Hello everyone, I'm trying to make a program accept ONLY VALIDATE float value. However, it only accept WHOLE number instead of values which contains decimals pl...
[2 replies] Last: Validating user input: http://www.cplusplus.com/forum/beginner/48828/#... (by Duthomhas)
[plain c++]Owner-Drawn Buttons in Resource
 
Hi, I have searched a lot of tutorials on how to make owner-drawn buttons, but a lot of them are a little bit hard to understand for API newbie and done in r...
[no replies]
initializing constructor?
 
HI! i had a question about constructors. Which is the best way to initializing your construcotor?: this way? MyClass::MyClass(int a, int b):iMyAge(a), iMyS...
[2 replies] Last: Thanks EricDu! ;) (by Shofahi)
by zChops
Looping
 
I need some help with this code. Im just starting to learn loops and I can't seem to get this right. #include <iostream> #include <cstdlib> #include <t...
[4 replies] Last: Thats a good thought, but say i wanted to do 10 or 15 problems. This ... (by zChops)
by emc2pp
shared object with linked libraries
 
Hello, I am trying to create a shared object (.so) and my code depend on linkers (like lapack and blas), so when I do: g++ -c -fPIC myclass.cc -o myclass....
[1 reply] : Note the compiler option '-c' in your first step, it tells the compile... (by EricDu)
October 2011 Pages: 1... 1213141516... 36
  Archived months: [sep2011] [nov2011]

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