General C++ Programming - September 2010 (Page 10)

Reading the host file
 
Hi Guys Is there anyway to read through the host file for specific text? Thanks in advance
[2 replies] Last: I believe you are looking for some specific text within the host file ... (by sohguanh)
fwrite() results in data lost in C-without-plus
 
Hi all I don't know if I can ask questions related to C-without-plus here, but can you please help ...
[3 replies] Last: Yeah, sorry I made some mistakes while describing the problem. st and ... (by user0604)
by MQLGuy
Initializing and Array with a Variable
 
Im having an issue with initializing an array using a variable (as opposed to just a number). Here's...
[3 replies] Last: Check chapter about dynamic memory in a tutorial of this site, i th... (by Mazd)
split by line then ,
 
if i have a string like this testuser82, 22675, Test, 2, 1, , , , , , , carlsum, 22674, Carl Su...
[2 replies] Last: You should never do a while on eof() because eof() is not set until af... (by Galik)
by gridge
Operator << and easy streaming to a non-ostream class?
 
Hi everyone, ok, the title is not the best one.. however, this is the thing: I'm writing a small ...
[4 replies] Last: Or even... #include <iomanip> #include <iostream> class Logger... (by Galik)
Converting bits to decimal
 
Hi. I'm writing a program(header file) that represents big floating point numbers (50 bits for expo...
[5 replies] Last: !!? (by majidkamali1370)
Default input value
 
Is it possible to create a default input value that will display the default value in a console wind...
[5 replies] Last: Great, thanks! (by zltippett)
Window without border problems
 
Hi forum, I need a window without a border to make a custom border. But when I maximizes a window...
[2 replies] Last: Okay, I will move it to another forum. (by Shatronics)
by liranR
Classes
 
Hi I want to build some objects that have a little difference between them. But i wonder how would ...
[1 reply] : It's all about the desired behavior of the object. If the objects w... (by Disch)
Looking for an online C++ teacher. (1,2)
 
Hey, I'm DaSpirit and I'm looking for someone to be able to chat online to whenever I have a questio...
[32 replies] Last: or you can just not revive old threads and let people search help on t... (by kaduuk)
Heap Error in Random String Generation
 
It seems like I always run into something else with my system when I fix something, lol. But looking...
[1 reply] : I'm wondering if it would work for me to re-write my generate function... (by Phantom139)
Thread safety of map container
 
I'm trying to use a map container to store a variety of variables that are shared between several th...
[6 replies] Last: I'm currently using something along the lines of Rollie's suggestion. ... (by Sinnderous)
clear/reset char array
 
how do I clear all contents in a char array i have something like this char ec...
[3 replies] Last: alternatively, if this array is for a c string, you only need to clear... (by Disch)
by chee
c++ linked pass out
 
#include <iostream.h> #include <fstream.h> #include <stdio.h> #include <stdlib.h> #include <con...
[7 replies] Last: If you modify something in a function, pass it by reference (or return... (by ne555)
Opening mp3 files using C++
 
I need to play some mp3 files during running my C++ codes. Can I launch it from C++ code? Should I o...
[2 replies] Last: Have you tried SFML? Here's the link http://www.sfml-dev.org/tutorial... (by blackcoder41)
How to save incoming databyte stream on File
 
Hi All, I really need your help and advise to save the databyte output on file(.dat or csv or .tx...
[1 reply] : hello Sinaga00, What's this -> for (int i = 0; i < rcvInfos->dataL... (by coder777)
Problem with (&) operator in role of addressor of struct
 
struct struc { char Chars ; float Floats ; }; Void Accessor(char* Chars, char Char...
[4 replies] Last: O, thanks. Guess so too nobuddy nowhere explain but this site. (by Los Guianosotros Finitar)
opening a file (word, notepad, excel etc.) in c++
 
I've been searching to no avail on how to open up a file in c++. I want to open something like a wor...
[12 replies] Last: Each OS has different way of associating files with programs. As such... (by kbw)
Error during compilation.
 
Hi: I am using Visual Studio 2010, I am getting an error while compiling the following header fil...
[1 reply] : You need to post more than that, we need to see that code as it appear... (by kbw)
Inheritance; calling polymorphic function
 
I have the following situation: #include <iostream> using namespace std; class Base { ...
[2 replies] Last: +1 ne555 The right thing to do here would be to make 'foo' virtual ... (by Disch)
September 2010 Pages: 1... 89101112... 20
  Archived months: [aug2010] [oct2010]

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