General C++ Programming - September 2014 (Page 13)

C++ AntiVirus
 
I would like to make an antivirus program. I am pretty much a newb at programming, and I know this is a big goal, but this is pretty much all I want to do with ...
[11 replies] Last: your better off becoming a developer or a programmer for an antivirus ... (by Rafael10)
Ineritance, Using Base class constructor. LNK2019 error
 
I am trying to create a few subclasses which all use the base class constructor, according to my book this is all fine and dandy by using the "using Baseclass::...
[18 replies] Last: And that makes me believe that i should just scrap this since it's not... (by Sabomoth)
Fstream Related Doubt
 
If I am running a program to write some information to a text file and I open the output file during the execution of the program, does it affect the output? As...
[9 replies] Last: Every thing works fine. I feel stupid putting up this question now. It... (by VishnuBK)
auto property in C++ express 2010...
 
Hi. As with VB express 2010, once an object name is typed in code window, its properties are all displayed; e.g. Textbox1.text; Textbox1.enabled, etc... I a...
[2 replies] Last: You might also want to look into getting the newest version of Visual ... (by Z e r e o)
Help with if statements
 
If I want to say something like if this is true, and this is true, and this is true than print this else if this is true and this is true print this. H...
[2 replies] Last: for every and, replace with && Ir not. if ((queryPointCalc1 <= Circ1... (by MiiNiPaa)
Framework, Exporting functions, and classes
 
I have a pretty substantial C# program currently. I have been pondering a rewrite of it to C++ using SDL/OpenGL. Currently, the C# program has a separate projec...
[6 replies] Last: Mangling is prevented only by prepending extern "C" to global functi... (by helios)
Help with templates
 
I am trying to make a table class that will be able to have multiple columns of data. I want it to have something to hold data (I was using a 2D vector for only...
[4 replies] Last: Oh! That was exactly what I wanted to do. I am making the class to be... (by Nisheeth)
Javascript to C++ function
 
Hi I'm trying to covert some code to the c++ equivalenet from java script. I started the funcion in c++ as double PRH(unsigned int iterations,double x,do...
[15 replies] Last: I don't know. I'll look at it later. I feel like ditching that bitwise... (by vivienneanthony)
i want to ask from user to enter how many entries he want to enter.kindly help me
 
when i declare local variable x and use it in array,the error is occure that use of un assign local variable.kindly help me namespace ConsoleApplication11 { ...
[2 replies] Last: int x = 10; //declare and initialize the variable with some value. wit... (by Rabindra Hota)
Why does this program skip Cin
 
#include <iostream> #include <string> using namespace std; int main() { int Height, Weight, Age, Calories; //The variables that will be used in the progra...
[16 replies] Last: Hey; if getline() is followed by an earlier cin statement you need to ... (by Rabindra Hota)
by smk
if else structure
 
how we will write a program tha will count a number of noots.i maen if i have 5676 rupees and i want to find the number of 5 thousand pak currency ,the number o...
[1 reply] : Please note, that this is not a homework site. We won't do your homewo... (by keskiverto)
by Emkor
help please!
 
++++nevermind, all figured out+++++ delete
[15 replies] Last: ahhh ok sorry im new here still learning the ropes (by Emkor)
I Need help with this guys
 
Please Help me solve this...... C++ A travel group travelled to 5 cities. The group started its journey from city A and ended at city A. From A it travelle...
[16 replies] Last: #include <iostream> int main() { std::cout << "Enter the distanc... (by LB)
cross compiling
 
Hey there. Can anyone tell me the commands to compile a c file as avr and as x86 on linux? I've been stuck on this, thanks.
[no replies]
C++ Adware Cleaner?
 
I would like to know how to make an adware cleaner/remover in C++. I have not found anything about how to make one on the internet, but I would like to know if ...
[no replies]
Command to get a line from the user
 
int get_command_line (char * sa) { char * s; char * l = fgets(s, 300*5, stdin); int i = 0; int j; int n; while (i<5){ j = 0; whil...
[1 reply] : std::string line; std::getline(std::cin, line); (by LB)
Please answer this Question about C++
 
____________is the act of printing out all of the input values so that the user can verify that they were entered correctly. Thank you, David623
[1 reply] : [quote=David623]____________is the act of printing out all of the inpu... (by LB)
code blocks problem
 
I am using code blocks but I don't have souces folder after creating a new project and there is no main.cpp too what can I do
[3 replies] Last: You need to tell Code::Blocks to add the existing file as part of your... (by LB)
by Ispil
Hash Function Help
 
Alright, I am stuck. I need a hash function for this class: #ifndef CONNECTOR_H #define CONNECTOR_H #include <memory> #include <utility> #include <unord...
[6 replies] Last: > Since your method simply involves assigning an incrementing value to... (by JLBorges)
Trouble with const, references, pointers, returns
 
I have a task in my c++class which involves these functions, and i cant change the arguments. Its part of a linked list. The data is a const Monster*. The pr...
[8 replies] Last: Yeah, most courses are most likely using not up to date stuff since th... (by Sabomoth)
September 2014 Pages: 1... 1112131415... 28
  Archived months: [aug2014] [oct2014]

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