Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
47% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
4
4 Commented Posts
0 Endorsements
Ranked #1K
~24.5K People Reached
About Me

An apple a day keeps the doctor away.
Don't make me angry )

PC Specs
Pentium 4 3.2 Ghz 1 Gb Memmory 200 Gb hard drive NVIDIA GefForce 6600GT
Favorite Forums
Favorite Tags
c++ x 91
c x 23
Member Avatar for Ahmed Padela

Please help me to solve the following program in C++ array. After compile message appears [B]"Possible use of "i" before definition.[/B] [code=c++] #include<iostream.h> #include<conio.h> void selsort(int [],int); void main() { int AR[50],N,z; clrscr(); cout<<"How many elements do U want to create array with?(max.50)....."; cin>>N; cout<<"\n Enter Array elements.....\n"; for(int i=0;i<N;i++) …

Member Avatar for David W
0
575
Member Avatar for Lensva

Code works, however i'm having problems with reverse string- i cant figure out how to index the elements. for cycle returns errors, what else could i use? The end goal would be to compare string line with string reverse. If adequate elements match its a palindrome. [code=c++] #include <iostream> #include …

Member Avatar for rohitvipin
0
2K
Member Avatar for kashmir323

Is there a C++ command that restarts the application. The program I'm making is just a console application that acts like a calculator. But once you enter your number and press enter you have to close the console and re-open it to find another number. [CODE] int yes = ; …

Member Avatar for WaltP
0
2K
Member Avatar for Knad

Hello, I am having a few problems with my image class using OpenCV. I am getting the errors: [CODE]src/image.cpp: In constructor ‘Image<T>::Image(const char*, bool)’: src/image.cpp:21: error: there are no arguments to ‘cvLoadImage’ that depend on a template parameter, so a declaration of ‘cvLoadImage’ must be available src/image.cpp:21: error: (if you …

Member Avatar for pc0019
0
430
Member Avatar for MuniArt

I've looked all over and haven't found an answer on this that I can understand. I included my code (most of it, anyway.) Obviously, I'm trying to make class Square a subclass of class Rectangle. However, I can't get my display() method to work properly in the derived class. The …

Member Avatar for innnocentdevil
0
470
Member Avatar for Amol Ranjere

i am writting program for digital calculator.and i have brought calculator image using graphics on outputscreenand i want to give dual interface of keyboard and mouse.how can i do that in graphics? thank you in advance.

Member Avatar for SideTruth
0
119
Member Avatar for gcardonav

Hello guys You rookie here. been trying to run a code but I am getting this weird error that I have not seen before. I have attached a copy of the error and the part of the code it refers to. Thanks for your help GCard 1>------ Build started: Project: …

Member Avatar for seraph03
0
2K
Member Avatar for asharrajpoot

i want to show output like this [code] A B C D E F G F E D C B A A B C D E F F E D C B A A B C D E E D C B A A B C D D C B …

Member Avatar for me_ansh
0
186
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
266
Member Avatar for tigger0484

the problem lies when the move checks to make sure it is valid, every move will display valid or not valid, and the code always displays not valid everytime [code=cplusplus] #include <iostream> #include <fstream> using namespace std; int initialmenu(); void initialboard(char board[][8]); int moveoptions();//function prototypes void appropriatemove(char board[][8], int move, …

Member Avatar for Ancient Dragon
0
106
Member Avatar for Jennifer84

I have a checkedListBox1 wich consist of a many lines with text. What I am trying to do is to search trough this checkedListBox1 to see if "Hello" could be found in this box and if it is found, this Item(Line) will be selected. I am not sure what could …

Member Avatar for Jennifer84
0
141
Member Avatar for sunrise2007

hello I have an error with template class and I can not understand what is the problem? the code illustrate the arrangement of many of books by its publishers' names and if the books have same publisher arrange them by the title of the book . [COLOR="Red"]the error is instantiated …

Member Avatar for zhelih
0
138
Member Avatar for daviddoria

I am trying to use OPT++ for multidimensional optimization with Visual Studio 2005. I added the include directory to my project. I added the lib directory to my project. When I try to compile the example that ships with the package, i get 102 of the same error: NEWMAT is …

Member Avatar for zhelih
0
165
Member Avatar for purepecha

/* I'm new on c ++ and i been strugling with this problem. create the special functions used by this routine and write the functions so it can be used by the main routine as shown*/ [code=c] #include <stdio.h> #include <stdlib.h> Void powerArgs(int *parmA, int *parmB) { int temp = …

Member Avatar for Ancient Dragon
0
127
Member Avatar for cosmos22

Hi. (I am using Windows XP) I would like to know how you can use the function SetFileAttributes to hide a file or folder, I would also like to know about the declarations associated with this function. I would like to use this to develop a program that hides program …

Member Avatar for mitrmkar
0
167
Member Avatar for purepecha

/* I'm new on c ++ and i been strugling with this problem. create the special functions used by this routine and write the functions so it can be used by the main routine as shown*/ #include <stdio.h> #include <stdlib.h> void divideArgs(&parmA, &parmB); { int temp = *parmA; *parmA = …

Member Avatar for zhelih
0
78
Member Avatar for purepecha

/* I'm new on c ++ and i been strugling with this problem. create the special functions used by this routine and write the functions so it can be used by the main routine as shown*? #include <stdio.h> #include <stdlib.h> void swapArgs(int *parmA,int *parmB) { int temp = *parmA; *parmA …

Member Avatar for zhelih
0
79
Member Avatar for Phanta

Good evening, I'm basically doing a program that does something like this: You enter two integers -4 and 6 which represent intervals Then the loop does this: (-4) + (-3) + (-2) + (-1) + 0 + 1 + 2 + 3 + 4 + 5 + 6 After that …

Member Avatar for Phanta
0
93
Member Avatar for atish00

How to set font style color and bg color; the online examples are very tough ; can ayone give me a easy and understandable code ??

Member Avatar for hammerhead
0
122
Member Avatar for mmc18

typedef struct Individual{ int number_of_la; double cost; }Individual; void deleteIndividual2(Individual **ind){ if((*ind)==NULL) return; freeLists2(&((*ind)->MSC),1); freeLists2(&((*ind)->BSC),1); freeLists2(&((*ind)->LA),1); freeLists2(&((*ind)->BS),1); (*ind)->MSC=NULL; (*ind)->BSC=NULL; (*ind)->LA=NULL; (*ind)->BS=NULL; free((*ind)); (*ind)=NULL; } //LAList-LA-LA_BS ,if includeGroup=1 remove all LAList-LA-LA_BS otherwise List and element will be removed void freeLists(Network_Element_List *head,int includeGroup){ Network_Element_List *temp=head; while(temp !=NULL ){ Network_Element_List *x=temp->next; if(includeGroup) freeLists(temp->element->groupHead,0); …

Member Avatar for mmc18
0
114
Member Avatar for ankitbullu

I was asked this question in an interview. Am looking for answers for this: A rectangular array of cells (say m*n) are selected in a spreadsheet (eg: MS excel). Assume that the cells contain only integer values. They need to be pasted to some location within the same spreadsheet after …

Member Avatar for Duoas
0
108
Member Avatar for Jellis58

I have a form that is used by say 250 employees right now but soon to grow company wide. This form has several line items listed down the page. Every few days I get several sheets in which right now I use tick marks (on a blank pcs of paper) …

Member Avatar for Jellis58
0
81
Member Avatar for sfurlow2

I have another question for my homework. Here is the problem: Keep inputting numbers from the user until the user enters a 0. After each number, print a "running average". That is, print the average of the last three numbers entered. Be careful how you handle the first two numbers …

Member Avatar for sfurlow2
0
789
Member Avatar for ckins

I can make a box with a char quite easily where the user enters two values L, and W using a for loop but I don't know how to make just the outline. I'm told there are 2 if else statements needed and I've nested my for loop. I don't …

Member Avatar for VernonDozier
0
330
Member Avatar for darknight09

[QUOTE]This program was suppose to make a bingo chess game.. but i am totally clueless.. so far the notes i got was jumbled so i have no clue at all.. anyone mind helping me out? This is a sample image that it suppose to look like a bit: [URL="http://img86.imageshack.us/img86/2594/55923788ip0.jpg"]http://img86.imageshack.us/img86/2594/55923788ip0.jpg[/URL] What …

Member Avatar for darknight09
0
241
Member Avatar for jessel

hello sir i'm a new user,i just want to ask if you have sample programs which deals on linked list....if possible not the add.edit,delete program

Member Avatar for zhelih
0
86
Member Avatar for darknight09

im having trouble programming , but its suppose to look something like this,, can anyone help out? im a beginner in c++ so i don't know much... tthis are my notes and im not sure how to do it image that it suppos to look like: [url]http://img86.imageshack.us/img86/2594/55923788ip0.jpg[/url] what it would …

Member Avatar for zhelih
0
104
Member Avatar for TheBeast32

Hi, I have been making a program that searches in another process's memory for a value from the user. It works, but it's [B]very[/B] slow. I have used other searchers like TSearch that are really fast. If anyone has a way to make it faster, please help.:-/ Here's my code …

Member Avatar for TheBeast32
0
316
Member Avatar for Techboy1523

Write code to prompt the user to input a character and a number. Then print out the character that number of times. This is one of many questions I must answer, but it will help me get started on my code.

Member Avatar for totem mouse
0
75
Member Avatar for sonygamer

I'm trying to use the switch function to compute the resistance of resistors. Basically, a person types in 3 letters, each representing a color; each color has a different value. Then v throws back the resistance by going through the equation. This is what I have so far. [code=c++] #include …

Member Avatar for Arpy Giri
0
292