Posts
 
Reputation
Joined
Last Seen
Ranked #861
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
88% Quality Score
Upvotes Received
8
Posts with Upvotes
8
Upvoting Members
7
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
4 Commented Posts
0 Endorsements
Ranked #1K
~49.2K People Reached
Favorite Forums
Favorite Tags
c++ x 95
Member Avatar for computer engW

Hi everyone, Today i have a question about how can i write one code for all shapes like, ****** ***** **** *** ** * or other shapes like square or tringle. I want to know the difference in every code. Thanks alot.

Member Avatar for movies8time8
0
8K
Member Avatar for Mona..

Hi everybody.. I have a homework on 2-Dimentional arrays, I have to creat a class and pass the parameters int it, i have to overload operators( +, -, *, << ) how do I Add the matrices?? Subtract?? and Multiply them using operator?? what should I pass and what should …

Member Avatar for Mona..
0
181
Member Avatar for Miyamoto

insertion into a set takes O(log n) time, which means ? I have heard about big O notation which desribes how memory usage changes when input changes. But log n ? n is probably the number for input values but i don't get it let's say i have 25 inputs …

Member Avatar for arkoenig
0
968
Member Avatar for sexyzebra19

I need this for matrix multiplication, I'm putting any 2 dimensional matrix into 1 dimension by column major order, i.e. the matrix 1 2 3 4 is stored as [1 3 2 4]. To try and figure it out I've worked out the pattern for 2x2 matrices: [code=php] data_[1] = …

Member Avatar for dusktreader
0
152
Member Avatar for rookanga

I am very new at this and I tried to look it up on google and that didn't help so I was wondering (and I know that you have to use shapes, to use a flow chart) how do you make a flow chart. to be more spefic the shapes …

Member Avatar for wilsonz91
0
145
Member Avatar for Hawkpath

Hi, I'm just learning win32 and i wanna know: is it really necessary that i memorize all of the syntax. Is that what professionals do? Or can I just copy and paste it every time and just know what it does. Thanks, Hawkpath

Member Avatar for Rajesh R Subram
0
155
Member Avatar for alexa868

Hey guys, so I want to write a program that calculates the sinus, cosinus and tangent without using math library... Any ideas?

Member Avatar for mrnutty
0
344
Member Avatar for astala27

Q. Using recursion, write [B]a[/B] C++ function into [B]b[/B] to convert an arbitrary integer n>=0 into binary. Call this function in the main program with the argument n (That's an easy part I can do that). In example; input n=27, output 11011. If anyone can help me with this question, …

Member Avatar for n1337
0
106
Member Avatar for vileoxidation

Hello, and thank you for helping me today! I am working on a scheme procedure that takes a string as its input, capitalizes every letter in the string, and then prints out the result. This is a homework assignment, and we are supposed to use another procedure that we wrote …

Member Avatar for vileoxidation
0
203
Member Avatar for programmer01

hey guys, I have written a calculator program in C++. It suppose to get the input from the user which is a string. Some thing like ((5+3)/2)*5. If you input that expression it gives 20, which is the correct answer. The problem i am having is that it cannot compute …

Member Avatar for Naira88
0
1K
Member Avatar for kudusan

i have a problem creating games with C++, if anyone has a source code in C++, please share with me, i need help, simple game is okay e.g: snake, arkanoid i just need a source code for a simple game, without open GL or something like that (because i can't …

Member Avatar for Salem
0
293
Member Avatar for sunveer

How can i print the lower and upper triangles of matrix Please guide me in writing the code. i don't know even how to start writing the code. Please help.

Member Avatar for n1337
0
115
Member Avatar for Momar

Hello all, First post here, I'll try to make it understandable heh. I have a question concerning object creation. Let's say I have a class called Node and I want to create an object called myNode. What's the difference between: [code=c++] Node * myNode = new Node(); Node myNode; // …

Member Avatar for CoolGamer48
0
148
Member Avatar for FTProtocol

[CODE=cpp] #include <windows.h> #include <iostream> #include "resource.h" #include "Main.h" HWND hWnd, hwScreen; CCalc szCalc; LRESULT CALLBACK MainDlgProc( HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam ); int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd ) { DialogBox( hInstance, MAKEINTRESOURCE(IDD_MAIN), hWnd, (DLGPROC)MainDlgProc ); return 0; } LRESULT CALLBACK …

Member Avatar for FTProtocol
0
89
Member Avatar for William Hemsworth

Hi everyone. Here is a program I made which will find patterns in a list of primes. It does this by finding the difference between each prime and adding them to a vector like this: [CODE] Primes: 2 3 5 7 11 13 ^ ^ ^ ^ ^ Difference: 1 …

Member Avatar for Prabakar
0
154
Member Avatar for Manutebecker

Just wanted to know, I'm just doing a little dice rolling thing thats storing dice values according to how many times they come up every so often, just wondering if instead of making 50 lines of code doing if(sum==1) { ones+=1; } else if(sum==2) {... and so on, I'm thinking …

Member Avatar for VernonDozier
0
107
Member Avatar for masterjiraya

I have here the the cpp file named as clock [code=cplusplus] #include <iostream> #include <fstream> #include <string> using namespace std; #include <cstdlib> int main() { // ofstream constructor opens file ofstream outClientFile("clients.dat", ios::out); if(!outClientFile) { cerr << "File could not be opened" << endl; exit(1); } cout << "Enter the …

Member Avatar for masterjiraya
0
107
Member Avatar for allena
Member Avatar for n1337
0
485
Member Avatar for ladyscoleman

Hey guys. can anyone help me, i'm a newbie and i need to show the number of times each of the numbers 1 -9 appear in a 2 dimensional array. store counts are suppose to be 1 dimensional and i also have to enter the code to display the nine …

Member Avatar for tesuji
0
119
Member Avatar for mhil_joy

guys.. please give me some idea on how to program tic tac toe using user to user.. thank you.. god bless you all...

Member Avatar for Nick Evan
0
96
Member Avatar for xtr.eme

I am a beginner and am learning C++ and QT I would like to know how to make an interface like the one in windows media player 11 - one that is completely custom including the minimise and close icons. What would this involve?

Member Avatar for Kob0724
0
81
Member Avatar for Alex Edwards

Is there a website that has some kind of GUI or application that allows users to enter statements like-- delete delete [] for... n elements... delete arr[n] --etc so that they can learn good memory management? I sifted around some free ebook sites and found one but the link to …

Member Avatar for mitrmkar
0
112
Member Avatar for Sukhbir

Hi All, If i have choice to either use simple array(char a[]) or map. Which one i shall use, whether array or map. i need to know wich technique will give better performance. As per my requirement i will insert the element in array/map, find the element based on index. …

Member Avatar for Alex Edwards
0
4K
Member Avatar for niitian

hello everyone. i need a bit of help in this project of mine which is due in 2 weeks.. here's what needs to be done, but i have no idea about the logic:( if somebody can help me with the pseudocode or algorithm, i could write the code maself.. [B]Write …

Member Avatar for Nick Evan
0
157
Member Avatar for Jboy05

How do I reverse the numbers in my program to produce the orginal numbers and the numbers in reverse? int magic_box (int N) { int digit1, digit2, digit3; digit1 = N / 100; digit2 = N % 100 /10; digit3 = N % 10; return digit1 + digit2 * 10 …

Member Avatar for tesuji
0
265
Member Avatar for faust_g

Dreading memory leaks, I would like to make sure I have an understanding of the following code: [code=CPP] //vector initialized to allocate 10 string objects vector<string> *pvec1 = new vector<string>(10); delete pvec1; //10 vector<string> objects vector<string> *pvec2 = new vector<string>[10]; pvec2[0].push_back("test1"); delete [] pvec2; [/code] 1> Would executing the preceding …

Member Avatar for Radical Edward
0
141
Member Avatar for herms14

guys...could I ask for your help, I was given a programming assignment but I cant seem to understand the problem heres the problem: [B]write a program that creates an array of 100 random integers in the range from 1 to 200 and, then use a sequential search to search the …

Member Avatar for n1337
0
103
Member Avatar for Gagless

I am working on a recursive function that does multiplication so I don't have to use the * operator or loops. What I'm stuck on right now is how to get it to produce negative products. I thought the code for positive products subtracted from 0 would work, but I …

Member Avatar for Gagless
0
145
Member Avatar for Jennifer84

I have a general question about Diagram in VC++ 2008. If I want to draw a diagram out of a serie of numbers for the coordinates X and Y in a Diagram. Is there any classes/ built in methods for this. - Is this very difficult things to do in …

Member Avatar for mitrmkar
0
291
Member Avatar for Aldayne

Hello, everyone. I need help with a bank account class. I was supposed to create a class called Account which houses an attribute called balance that is protected and returns a double data type. There are some other things required of me which have been completed in the coded below. …

Member Avatar for Aldayne
0
142