49,761 Topics

Member Avatar for
Member Avatar for NervousWreck

I am just starting to learn C++ with the Waite group primer. I wrote a program loosely based on the books instructions to display any entered ASCII character and its numeric value and the same for the next character in the table. Heres the bug: The second character works fine, …

Member Avatar for mitrmkar
0
97
Member Avatar for FTProtocol

Hey guys im just wondering if any guys have any clue on building a DLL Injector/Loader As in, in a folder you have Blah.exe and Blah.dll when Blah.exe is run it injects the dll into a specified process (via blah.ini) Now i know i need to use LoadLibrary or CreateRemote …

Member Avatar for mitrmkar
0
476
Member Avatar for sanchyvil

im new in programming cpp usually i do java... i have this problem, evertime i run my program i cannot see the output well, its just like it blinks... so idk if i have a correct output for my program... tnx...

Member Avatar for VernonDozier
0
125
Member Avatar for Aamit

i am creating shedule task program .. eg. daily ... i want to create this program like when pc restart or on... i want this exe check this timing automatically and executes at that time How to do this?? [code] #include<stdio.h> #include<conio.h> #include<time.h> #include<stdlib.h> #include<ctype.h> #include<dos.h> #include<windows.h> int main() { …

Member Avatar for Jishnu
0
107
Member Avatar for brnprasad630

Does anybody knows about #pragma where they are used and what is the significance in using them. If anybody knows about please reply. :?:

Member Avatar for TheAgent1982
0
572
Member Avatar for mikelle
Member Avatar for QuantNeeds

I am little confused, maybe a little overwhelmed because we are just getting into the various storage classes and scopes, and also arrays. My biggest issue is getting my functions and data members recognized in the separate files. I was able to do this with a project I had on …

Member Avatar for QuantNeeds
0
96
Member Avatar for ghadahelal

hi, i have a program which read the input stream as a character then it transdforms this charcters to integers in the input stream there is ^, ex , x^2 how can i deal with.

Member Avatar for William Hemsworth
0
82
Member Avatar for raj157

Well it is an assignment question here is the question : Implement a base class Person. Derive classes Student and Instructor from Person. A person has a name and a birthday. A student has a major, and an instructor has a salary. Write the class definitions, the constructors, and the …

Member Avatar for William Hemsworth
0
712
Member Avatar for amccorm

Hi, I'm taking a shot at the netflix challenge and relearning C++ at the same time (I usually code in Python now). I'm storing the data in the following structure: typedef struct ndata{ unsigned int userid : 22; unsigned int rating : 3; unsigned int : 0; unsigned int movieid …

Member Avatar for Jishnu
0
88
Member Avatar for mike issa

I am having problems with using a header file called lt360lib.h My code is as follows [CODE] #include <lt360lib.h> #include <iostream> using namespace std; main() { } [/CODE] as you can see it is a simple code just to test if the header file is being accepted or not. but …

Member Avatar for Jishnu
0
420
Member Avatar for callmeravi81

Hi, Any one can help me .. i want the C++ code for hashing operations to implement dictionary ADT....Plz help me ... Thank you

Member Avatar for Jishnu
0
75
Member Avatar for ff4930

Hello everyone, I am new to maps and I have a simple question. I have a map that stores a string as key and the data I want a map<int, int> so my syntax is map<string, map<int, int> test; What would be the syntax to insert say "hello" and say …

Member Avatar for Narue
0
118
Member Avatar for Futbolmasteryan

I completly new to Programming and someone adviced me to start with C++. So I opened some tutorials and gone over them. Those tutorials only say what to type in there(btw I have downloaded Dev-C++). So I do whatever they ask me but I don't get the point of this. …

Member Avatar for Jishnu
0
134
Member Avatar for TheBeast32

Hi, i have made a simple program that gets all of the running processes on a computer and gets the text from their windows. It works, but sometimes it gives the wrong text. For example, i have notepad open, and it doesn't say the right text. To compile, you have …

Member Avatar for TheBeast32
0
347
Member Avatar for bdjhall

Hello everyone I'm new here! :icon_smile: I'm also new to C++, and I'm having a little bit of trouble with a code of mine. // function example #include <iostream> #include <string> using namespace std; int addition (int a, int b) { int r; r=a+b; return (r); } int main () …

Member Avatar for bdjhall
0
121
Member Avatar for agrawalashishku

Hello all, I have a base class called reuse_pattern and two derived classes apple_reuse_pattern, mango_reuse_pattern. Actually, the derived classes are only there to keep track of some static variables and they are all completely same except for the word mango and apple. I find that this is a very inelegant …

Member Avatar for jencas
0
75
Member Avatar for gregorynoob

I've started programming a few months ago, i've done basic before, then i tried pascal for a while but now i'm comfortable with C++. The problem is, i'm trying to learn as much as i can from the net and books, but i can't find a good book i could …

Member Avatar for VernonDozier
0
111
Member Avatar for falloutphil

Hi, I'm at a loss to explain an issue I'm seeing below. It's a simple enough peice of C++, just sum all the values of 1/n from n=1 to n=10000. Easy, eh? The problem I have is explaining why when looping for the large to small bound i.e. 10000 down …

Member Avatar for falloutphil
0
201
Member Avatar for lhadieinsane

i need help.. i am NOT asking you to do it for me.. i just need some idea coz i can't really understand the problem.. here it is: Consider the sequence of digits from 1 through N (where N=9) in increasing order 1 2 3 4 5 . . . …

Member Avatar for Jishnu
0
77
Member Avatar for lhadieinsane

i need some help.. this is for our C++ project.. :( can somebody help me? i'm just a beginner in C++.. (THANK YOU!) 1) [B]LARGE NUMBER[/B] For the purposes of this problem we will define a large number as a positive whole number with at least eight digits. For example, …

Member Avatar for lhadieinsane
0
114
Member Avatar for aintlikeyou

Hi guys, I need to write a program in C++ that will input data for N rectangles (0<N<5). The data for each rectangle consists of coordinates of the lower left and upper right corners, which are positive integers, less than 100. Then I need it to calculate the area of …

Member Avatar for Alex Edwards
0
130
Member Avatar for Ellisande

So... here I am again. Items are a pretty important part of RPGs, so I'm probably going to have to code them in at some point. My basic idea is this: I'll start with an abstract class called "Item". From there, it'll be broken down into several subclasses, including "Equipment" …

Member Avatar for Ellisande
0
286
Member Avatar for ibe123

Below is my problem... Here is my code... [code=cplusplus] #include<iostream> #include<iomanip> //allows me to use setflags/showpoint and set precision #include <stdlib.h> //for exit(1) #include <fstream> # include <stdlib.h> # include <cstdlib> using namespace std; int main() { double s1, s2, s3; ifstream inf; inf.open ("C:\\CS201HWASSGN6INPUTFILE.txt", ios::in); ifstream infile("C:\\CS201HWASSGN6INPUTFILE.txt", ios::in); //Input …

Member Avatar for Jishnu
0
183
Member Avatar for WillMcc

I'm just basically reading a book and messing around with the scripts they give me so I can understand what they're talking about, and here is the script (essencially word for word) however isn't working. What the program is supposed to do is (for example:) [B]"Enter two integers, and I …

Member Avatar for Alex Edwards
0
180
Member Avatar for WillMcc

As the title says, more or less. I'm just trying to make a program basically (Variable) + (Variable) = (Total) Here is the script: // Variable + Variable = Total.cpp : main project file. #include "stdafx.h" using namespace System; void main() { float num1; float num2; float total; cout<<"enter a …

Member Avatar for WillMcc
0
132
Member Avatar for Pikachumanson

Can anyone give me a hint on how to save my heroes health that is in a PLAYER class that would be GetHealth() because it inherited that from the base class entity. SetHealth() is in the base class Entity. I know I am just a couple line away from solving …

Member Avatar for Ancient Dragon
0
108
Member Avatar for blood08

Hey I am following a video tutorial teaching pointers... I am following along and writing what they have. Which is: [CODE]#include <iostream> using namespace std; void main() { int myArray[4] = (1, 2, 3, 4); cout << (int)myArray << endl; cout << (int)&myArray[1] << endl; }[/CODE] They are able to …

Member Avatar for blood08
0
262
Member Avatar for CoolGamer48

Hey, So, three questions: 1. What is a DLL and what is a .lib file? 2. (might have been answered w/ #1) What is the purpose of .lib/.dll files? 3. How do I create a .lib file with C++, and (again, may have been answered above) what exactly will this …

Member Avatar for CoolGamer48
0
434
Member Avatar for warlord_killer

i need some help in graphics of c++.I' can't use the getimage and putimage functions properly.I'm confused with the syntax and its working.So any help??

Member Avatar for Ancient Dragon
0
28

The End.