General C++ Programming (Page 3)

Running a program outside ide
Hey after you have compiled a program can you run it without an IDE?
[17 replies] Last: By owner I didn't mean the person that is meant to posses to folder. T... (by Computergeek01)
Sending and receiving data
Hey all! If I have a text file named, stuff at a specified path in the c : drive, how do I send the ...
[5 replies] Last: @ discofire : I like that description much more, it feels more concis... (by Computergeek01)
by Lyen
write a program that will sort in alphabetic order n first names. you should create an input file wi...
[3 replies] Last: thanks. i'll try to write again. (by Lyen)
by bonho
try to understand this example code
I looked for a general way to get a function that does a sync/async "wait x sec and do something" an...
[2 replies] Last: [quote=bonho]why does it call detach? [quote=kbw]detach() is called a... (by cire)
I am facing the problem with goto statement
#include<iostream> #include<string> using namespace std; int main() { int i,j; int begin = 0; s...
[1 reply] : It is. You find "*/" at position 6 so when the first loop looks for " ... (by Peter87)
String is being output backwards...
Hi! So I have a program that will convert a string of numbers into a barcode that consists of :'s an...
[6 replies] Last: #include <iostream> #include <cctype> #include <string> using namespa... (by Yanson)
by q139
string to LPVOID
Hello, I have problem converting string to lpvoid. It does convert but if input is "0x00309E40" ou...
[5 replies] Last: Thanks alot, now i am able to enter adress and pointer. Now i have pr... (by q139)
How to add the time into function
I have created this code with the classes for time and message. Basically the point of this code is ...
[2 replies] Last: This is how the time will be displayed!. Just a little modification of... (by Atyab)
Hey all! So im trying to make a keylogger. So far this is what i came up with: #include<iostream> ...
[14 replies] Last: Woah! Dude that's cool but I don't think I'll be able to finish it up ... (by Thedevilstail)
by Rina
Upgrading program in Visual C++ 6.0 to Visual C++ 2010
Hi, I have a program that is written in Visual C++ 6.0. This program is using static library. Whe...
[1 reply] : you are looking for the stdafx.h at one level up the project directory... (by writetonsharma)
Compelling use of Friends?
Hey guys, This is more of a general question. Have you ever encountered a scenario where friend f...
[5 replies] Last: Friends are probably a last resort. -1. Friends are part of a class'... (by Duoas)
A struct inside a class?
I'm getting confused. If I have a class declared in class.h and defined in header.h like below. I'...
[6 replies] Last: Okay, I see. Like Cubbi said, you can use :: to access what you decl... (by lsk)
Using Global Variables in a Static Library
Currently I can't test it, that's why I'm asking :) Is it possible to use & change global variabl...
[3 replies] Last: When you include the file that contains the function, won't you have t... (by lsk)
by tcmn
help understanding how to interpret a function
I was asked to write a function : int solution(const vector<int> &A)that, given a zero-indexed arra...
[5 replies] Last: I too sent the wrong example. Here is the example: array A consisting... (by tcmn)
Reducing the time complexity
I have a very simple program the time complexity of the function that I used in this program is O(mn...
[5 replies] Last: Thank you all :)))))))))) (by imankhan)
please help
can u please find error in the runs upto enter month and continues without stoppin...
[3 replies] Last: Line 1: Correct header for modern compilers is <iostream>, not <iostre... (by AbstractionAnon)
Binary and String File Protection
Hello, I am using private copy constructors to protect my string and binary files. I am wonderin...
[no replies]
by Gamytr
Double, int and float. See the differences.
I don't know where I made the mistake #include <iostream> using namespace std; int main() { in...
[4 replies] Last: Thank you :)) (by Gamytr)
Simple encryption program runtime error
I am trying to make a simple program for encrypting a char* with the XOR operator. The code compil...
[4 replies] Last: Do you know how to do this with std::string and the other C++ awesome... (by cire)
by nines
Needed explanation
Hi, I need help with this code : 1. # include <iostream> 2. # include <cctype> 3. using name...
[3 replies] Last: myesolar & lsk thanks for the tips I will google it and find out (: (by nines)
Pages: 12345... 41
  Archived months: [may2014]

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