General C++ Programming (Page 2)

Homework question regarding Time
 
I am making a class called Time in C++ and the class has 3 integers as private member variables. I a...
[no replies]
Compile C++ code at runtime [g++]
 
My program needs to compile various source files at runtime. What is the most elegant way to compil...
[3 replies] Last: I'm not so sure that's what you really need to do. What exactly is y... (by Duoas)
std::vector? updated
 
Since you have a running program, you only need to change the private variables in the header files ...
[4 replies] Last: Thanks for your help. I finished it and turned in the assignment yeste... (by bwilson1)
Unscrambler
 
This program should be easy for those who are experienced //not me So i want to make a simple word ...
[3 replies] Last: How would you tell apart 3*5*8*9*22 from 2*3*4*5*9*22, or from 2*2*2*2... (by helios)
by Gyiove
DispatchMessage taking frames away while moving window
 
Hi everyone! lets start with the code: while(run) { if (PeekMessage(&msg, win->win_h...
[1 reply] : hm, anyone? :/ (by Gyiove)
Switch
 
Hi, I do not want the user to be prompted to key in the first number and second number when the u...
[2 replies] Last: Thank you! (by missjune)
problem with recursive definitions
 
Hello wise C++ forum, I'm aware that "ordinary" recursive definitions are allowed in C++, the mos...
[2 replies] Last: Thanks very much coder777, this isn't the first time you bailed me out... (by STxAxTIC)
Class constructors and data member initialization
 
I recently discovered the new - new to me anyway! - feature of modern C++ that allows you to set the...
[16 replies] Last: keskiverto, that's a great little link. Cheers. (by mutexe)
Problem with Strings
 
I am supposed to be writing a program for class, but I am having trouble with a string. Here is the...
[2 replies] Last: Thank you, I did not notice that. (by TheUnholy)
Creating a windows form using C++ or something like it?
 
Hi, i'm trying to make a trainer for a game, and i'm just wondering before i start. How would i m...
[no replies]
by Anakin
how to sort int & float? (1,2)
 
Hi all; I should sort an array of mixed float and integer numbers by merge method, and using the po...
[22 replies] Last: I didn't get actually, read and write file was given by my teacher. co... (by Anakin)
Rule or Rules of evaluation in C++
 
hi. Is there any Rule or Are there any Rules of evaluation in C++ ? This will help me code with in ...
[4 replies] Last: That's called short-circuit evaluation and I believe it is part of t... (by ResidentBiscuit)
Running C++ Program on C# Tool
 
Hi, There's a tool (with GUI) which was built in C#. Additionally, I have a C++ script. Is it...
[3 replies] Last: Sure there is, you of course will need access to the source code of th... (by Z e r e o)
by yo2xia
P value from lffff function in C++
 
I am beginner of C++, any help will be appreciated. #include "stdio.h" #include "lffff.c" #inclu...
[2 replies] Last: thank you, I have got it. (by yo2xia)
by yo2xia
P-value calculation is not exact via F distribution in C++
 
New code in C++, no precision error. share it with you! //*---*---*---*---*---*---*---*---*---*-...
[4 replies] Last: Sorry, I am late to reply you. And this is the code with no problem, s... (by yo2xia)
by ostar2
Zlib outputting blank file
 
Hello, I wrote a program to compress a file with gzip, which works fine. I also wrote a program to d...
[4 replies] Last: I would like to decompress the file into a buffer but it is becoming f... (by ostar2)
Function stuck
 
I've written some code to randomly generate probabilities: int Queue::car_per_hr() { sran...
[3 replies] Last: Ye used srand in my int main instead of calling it everytime car_per_h... (by JudyFaye)
by yo2xia
how do I find the pivots of my matrix
 
I want to get non-singular matrix with the C++ linear algebra library eigen, but I do not know which...
[5 replies] Last: @Duoas So good answer. thank you! (by yo2xia)
by NQS
Problem with server in client-server program
 
I am doing a server-client program in C++ and am having trouble figuring out how to do a couple of t...
[4 replies] Last: I am still at a loss on how I can send the results that I need to sen... (by kbw)
Binary Search Tree VS Linked List
 
What is the difference between BST and linked list? Or are BST implemented through linked list?
[3 replies] Last: They both have links, but I think you're mistaken. (by kbw)
Pages: 1234... 66
  Archived months: [aug2014]

Cannot post in this page. To post a new message, go to the first page.