Posts
 
Reputation
Joined
Last Seen
Ranked #359
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
68% Quality Score
Upvotes Received
9
Posts with Upvotes
6
Upvoting Members
7
Downvotes Received
6
Posts with Downvotes
1
Downvoting Members
6
7 Commented Posts
~49.2K People Reached
About Me

Did 6 years in the military (navy), jumped into school, I work a steady job as a janitorial professional (thats right I said professional). I have one wife, two kids, and three computers.

Interests
watching New Orleans Saints football, sleeping in my oven, howling at the moon
Favorite Tags
Member Avatar for Narue

When you want to remove extraneous characters from an input stream in C++, it's usually because you mixed formatted and unformatted input methods. The formatted method would leave a newline in the stream and the unformatted method would consume it and terminate successfully, but fail completely to do what you …

Member Avatar for Smn
18
13K
Member Avatar for zmariow

Hi All, I need to find a way to automatically print a PDF file from my Windows Application in C#. Currently I can invoke the following from the command line: "C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe" /p /h "C:\Test.pdf" This will silently print the PDF file but will keep Acrobat Reader open (but …

Member Avatar for winnercom
0
3K
Member Avatar for shopnobhumi

Hi i have just started my c++ class and really having hard time with that.i was assigned to draw a graph which should look like dis : ***** ***** ***** ***** ***** This is what i am trying but getting only this result : ***** * * * * Please …

Member Avatar for kavita_gunaji
0
807
Member Avatar for packetpirate

This is for the numerous people I see constantly asking how to "pause" the console after their code runs. The explanation for how the code works is within the snippet in comments. Basically, the "cin.clear();" function will clear the input stream, getting rid of any newline characters that would have …

Member Avatar for MosaicFuneral
-1
2K
Member Avatar for Elihu5991

My friend downloaded Unity3d to get started in 3D game development for our site; but found out it costs. We are tight on budget and need a free solution for the time being. Thankyou so much for your help.

Member Avatar for Elihu5991
0
290
Member Avatar for Bri426

I'm writing a program that asks the user how many numbers they would like to input, then proceeds to ask the user to enter the said amount of numbers. At the end, the program computes the sum, average, largest number and smallest number. I've got the entire program figured out, …

Member Avatar for gju
0
1K
Member Avatar for MisterBook

I've written a flexible quicksort module capable of taking a vector reference pass, cloning it, altering the clone and swapping with the original to print the list. For the most part, this works wonderfully, except for one thing. Occasionally, it gets numbers wrong. Not all the time. If I give …

Member Avatar for MisterBook
0
129
Member Avatar for Dark Byte

I have viewed some source that contained an identifier with a scope operator preceding it. Ex: [code=c++] ::var[/code] What does that mean/do?

Member Avatar for LordNemrod
0
113
Member Avatar for VBNick

I was trying to make a for loop count down backwards using this loop, but when it gets to zero, instead of realizing that decrementing will bring the number below zero, it tries to make the unsigned short (-1), which is actually 65535 as unsigned. of course, this code produces …

Member Avatar for William Hemsworth
0
169
Member Avatar for kuchick32

One of my assignments is to write a factorial function. I have no clue how to start this program. HELP!! This is my assignment.. Example Outputs Enter the number: 5 The factorial of 5 is 120 Enter the number: 0 The factorial of 0 is 1 Enter the number: -8 …

Member Avatar for Narue
0
96
Member Avatar for embooglement

I just finished writing a string class that includes functions for generating random string (why I don't know, as I have never really needed random strings before). Basically the user can pass the function an enum citing what kind of string that'd like (i.e. AllUpperCase or AllNumeric). There is also …

Member Avatar for mrnutty
0
130
Member Avatar for bonskiee

#include<iostream> using namespace std; int main() { int x,inpt,ctrl; x=1; ctrl=1; cout<<"Enter a number: "; cin>>inpt; while(ctrl<=inpt) { while(x<=ctrl) { cout<<x<<" "; x++; } cout<<"\n"; ctrl++; x=1; } system("pause"); } can u please help me to invert this triangle?

Member Avatar for prvnkmr449
0
122
Member Avatar for fire_

Hello. I'm writing codeing progam. It reads from file using fstream and then converts simbols to ascii, changes ascii, converts ascii to symbols and writes them to file. I tried to code .txt file with it. It worked perfect. But then i tried to convert .bmp file and then i …

Member Avatar for fire_
0
141
Member Avatar for charlesnazereth

I am trying to make an audio player in visual c++.I am using an audio engine called FMOD which is in a dll to call functions from it for audio playback. How do i import a .dll file to visual c++

Member Avatar for chococrack
0
159
Member Avatar for arshiyafatima
Member Avatar for MAbebe

Can any one please help me figure out what I am doing wrong on the following C++ programing language? I couldn't figure out what I am doing wronge that it gave me a hard time to compile it. Here is what I have done so far. using namespace std; struct …

Member Avatar for chococrack
0
162
Member Avatar for CodyOebel

Ok I am doing some windows API programming that deals with two applications\windows. One window is my program, the other is a games window. I am building my application to output the coordinates to my applications screen. The coordinates are to be retrieved and are needs to be relative to …

Member Avatar for chococrack
0
254
Member Avatar for dflatt

is this good practise or even possible as i'm not on my comp. [CODE] class C3dshape { private: int mLength; int mWidth; int mDepth; public: int getlength(); int getwidth(); int getdepth(); void setvalues(); }; int C3dshape::getlength() return mLength; int C3dshape::getwidth() return mWidth; int C3dshape::getdepth() return mDepth; void C3dshape::setvalues() { length …

Member Avatar for Ancient Dragon
0
128
Member Avatar for exekiel101

[CODE]#include <iostream> using namespace std; int main() { int numbers; numbers = 2; while (numbers <= 1000); { if (numbers % 2 ==0){cout<< numbers;}; if (numbers % 3 ==0){cout<< numbers;}; if (numbers % 4 ==0){cout<< numbers;}; if (numbers % 5 ==0){cout<< numbers;}; if (numbers % 6 ==0){cout<< numbers;}; if (numbers …

Member Avatar for chococrack
0
241
Member Avatar for cjreischl

Hi. I am creating a program for class that can be used to gather statisctical data about the number of movies college students watch in a certain time frame. I have to find the average, median and mode and show this in the output. I am able to get my …

Member Avatar for Cool_Breezey
0
171
Member Avatar for Arthas

Hi everyone, We are doing our minor project. We(project team) are planning on making a [I]strategy game[/I]. If we succeed it will be somewhat like DOTA([I][U]not that great![/U][/I]). We have started learning OpenGL + SDL for graphics, boost.threads for threading, and for artificial intelligence we are planning on implementing Finite …

Member Avatar for Arthas
0
150
Member Avatar for XMasterrrr

hello guys, sorry if it's wrong topic name but in accelerated c++ book and in chapter 2 exactly i have a problem [CODE]#include <iostream> #include <string> // say what standard-library names we use using std::cin; using std::endl; using std::cout; using std::string; int main() { // ask for the person's name …

Member Avatar for XMasterrrr
0
141
Member Avatar for captainSheepdog

Hi everybody, I recently created my first full application and have since passed it along to my friend for testing. Unfortunately, on his laptop, the executable, when double clicked, will act as if it is launching, show up in task manager, remain in task manager, but will not launch. The …

Member Avatar for captainSheepdog
0
133
Member Avatar for NicAx64

hi, Does someone have a good books(if free fine but commercial even oky) on code reviewing and industry c++ projects? I mean how I could do a professional code review according to the industry standards? I need to read a one and want to listen from the experienced ppl in …

Member Avatar for chococrack
0
186
Member Avatar for cogitoergosum18

#include <iostream> using namespace std; int main() { int firstNo;// first number is stored here int secondNo, int resultAdd,// variable for result when first number and second number are added int resultSub,// variable for result when first number and second number are subtracted int resultMult,// variable for result when first …

Member Avatar for cogitoergosum18
0
226
Member Avatar for akira_shinizaki

Hello everyone, i have another assignments that i can't deal with my ability yet. This is the assignment : Make a pyramid from a character where you can define it's height ! Example : 4 characters height pyramid from "x" character [code] X XXX XXXXX [/code] 6 characters height [code] …

Member Avatar for kvprajapati
0
248
Member Avatar for chococrack

I am having trouble finding out info regarding how to stop my application from "Beeping" every time I change focus with the "ENTER" key. For the sake of clarity here is the specific action and code which produces a sound (which I want to eliminate): I am simply trying to …

Member Avatar for chococrack
0
172
Member Avatar for JD2000

I'm currently working on implementing a small game in C++, but when trying to compile, I get this error: [CODE]..quadtree.h:125: error: no matching function for call to 'Fleet::Ship::overlaps(const Fleet::Ship*&)' ..ship.h:40: note: candidates are: bool Ship::overlaps(const Rectangle&) const ..ship.h:85: note: bool Ship::overlaps(const Ship&) const ..ship.h:32: note: bool Ship::overlaps(const Point&) const[/CODE] So …

Member Avatar for JD2000
0
128
Member Avatar for ALAZHARY

Hello Everyone, I found the following code somewhere, I understand it but I have trouble with understanding the sequence of execution, in other word, How can I monitor every little step of the function like that?[CODE]void EatSpace(char* Pbuffer) { int i = 0; int j = 0; while((*(Pbuffer + i) …

Member Avatar for Laiq Ahmed
0
173
Member Avatar for sid78669

This one is really crazy cause i think my professor screwed it up. I have to write a class Bank. It contains objects savings of class Account. now say i have a savings array and a savings object has [code=cplusplus] Account savings = new Account[5]; //How do i return the …

Member Avatar for sid78669
0
206