General C++ Programming (Page 8)

Getting Strange Output Results Depending on std::endl;
 
Hey All, If I read a .vcf file, line by line, and output that line after each read without a std:...
[3 replies] Last: Is there anything I could try to fix it or to debug exactly what's go... (by Disch)
how to read data in txt file
 
I generate a data set and saved in txt file. I am wondering how to read those data in c++? They are ...
[1 reply] : http://www.cplusplus.com/doc/tutorial/files/ (by MiiNiPaa)
How to know if std::cin is blocking a thread?
 
Hello, I want to synchronize 2 differents processes by using cin has a synchroniser. one proccess ...
[1 reply] : there should be a way which should involve multi-threading. Aceix. (by Aceix)
Comparing a string in input to a dictionary file
 
Hi all guys! I will explain better myself. What I would like to do is: - input a string (char as ...
[2 replies] Last: This is for my knowledge, I already know a bit of c++ but not at this ... (by vanillarainbow)
Hi Im not sure how to do this, may someone explain me how?
 
The value of sin(x) can be approximated by using the formula: sin(x) = x −x3/3!+x5/5!−x7/7!+...
[3 replies] Last: The hint pretty much just tells you how to solve the problem. First, c... (by ModShop)
code for inserting element from end in a linked list ( not working!!)
 
This is the code The program executes but as soon as i enter the first element it doesnt respond...
[1 reply] : if(last=NULL) // == not = (by TarikNeaj)
What's the best library for handling MySQL databases?
 
Hi, I'm looking for the best C++ library to insert,update and delete entries in a MySQL database. I...
[no replies]
functions for linklist dont work
 
this are two functions that are for adding and removing and item on links list that im using in a no...
[4 replies] Last: ok I got it thanks so much (: (by isaacthebro)
Need fixing and refining
 
Create a program that lets the user enroll a college student. Discounts are given for the in percent...
[3 replies] Last: Why does it need fixing? Does it not work? Do you get Errors? If so, ... (by TarikNeaj)
pointer memory allocation
 
Hey guys. I am back. My semi starts soon. I wanted to know one essential thing. How is memory alloca...
[14 replies] Last: thanks..a relief (by csstudent123)
Nim 2 player?
 
This is the code that I have created for the game Nim. So far my code works perfectly fine (or at le...
[3 replies] Last: Still: change "Player 1" -> "Player " << current_player To detect... (by coder777)
Int24
 
I'm doing some dsp stuff and I have this __int24 struct. However, I'm getting this error cannot ...
[1 reply] : cannot convert from const int24_t to int32_t. You cannot apply non... (by MiiNiPaa)
Macro replacement interpretation
 
Section 16.3 paragraph 4 of the C++11 standard reads: "If the identifier-list in the macro defini...
[1 reply] : > Does this mean that invoking a macro with more arguments than there ... (by JLBorges)
Help! error LNK2019 and fatal error LNK1120
 
I keep getting error LNK2019 and fatal error LNK1120 for my program. Any idea what might be wrong? ...
[4 replies] Last: Oh wow I can't believe I made such a stupid mistake! Ok I got it worki... (by signogru)
by Gyiove
communicating with other program ( creating debug program )
 
Hello everyone! I was thinking about creating a simple debug program. Here's how it should work:...
[1 reply] : Look at ptrace. It lets you look at system calls from other programs, ... (by fabtasticwill)
Loops Help Needed how to divide this code?
 
#include <iostream> #include <string> #include <cmath> #include <iomanip> using namespace std; ...
[no replies]
Assign char*[] to void**
 
So I'm using an old API and it has a problem I don't know how to solve. It's something like this. ...
[6 replies] Last: This actually works. Everything is returned correctly. And that void**... (by cmajor28)
by Ema
Please, can anyone tell me what are the smallest floating-point numbers in c++ and java?
 
Please, can anyone tell me what are the smallest floating-point numbers in c++ and java?
[4 replies] Last: Now this is a bit confusing. I have to admit that I was thinking about... (by Peter87)
Explain
 
Can someone explain me the following statement in detail: NSDate *now = [NSDate date]; Thanks ...
[4 replies] Last: Got it now. Thanks a lot for explaining in detail. (by nileshjdarji)
Guessing Game
 
Hi guys! I wrote a Guessing Game program for a class project and what I intend to do is as follows: ...
[3 replies] Last: Your guessing game is far from being correct. There are a bunch of c... (by TarikNeaj)
Pages: 1... 678910... 53
  Archived months: [jan2015]

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