General C++ Programming (Page 29)

by Kauto
Union Find trouble
 
#include <iostream> #include <fstream> #include <cassert> using namespace std; void main ()...
[1 reply] : ifstream is by default set to ios::in so that's not necessary on line ... (by soranz)
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)
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)
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)
Linked list remove node...I am banging my head!!
 
pls help me. how to remove node from linked list. I am trying to implement this in a file record to ...
[11 replies] Last: thanks..data structure is new to me (by csstudent123)
by roarkr
Timer Callback
 
Hi, I hope someone can help me out here. Either with a correction to existing code or a new way o...
[1 reply] : No replly. I though this was an expert forum (by roarkr)
Creating a Loop for Arrays
 
Problem: I am using a method to pull account ids from an account.txt file. I'm able to get the ...
[no replies]
by S33ds
Would it be quicker to use a binary heap to get the top x amount of integers from an array or use quick sort
 
To get the highest X amount of integers from an array, do you guys think that using a binary heap ...
[3 replies] Last: That doesn't answer my question It actually does. It states that nth... (by MiiNiPaa)
Pages: 1... 2728293031... 64
  Archived months: [sep2014]

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