Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
6
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~43.2K People Reached
Favorite Tags
Member Avatar for Builder_1

kindly tell what is #pragma warning(disable: 4996) in the above program????and how can we cout the locations of each vowel in the sentence..

Member Avatar for Ancient Dragon
0
157
Member Avatar for Sh4dowz

Hello, I'm new to these forums and I was wondering if any of you guys know a programmming language that is more designed for Video Games than casual software. I want to make a basic 2D platformer or maybe a simeple RPG that has a moving sprite. I have tried …

Member Avatar for tuto.narahenpitiya
0
632
Member Avatar for Despairy

(netbeans latest, windows 7) So, from what I understood, once I start a servlet program the html page with a form in it loads and I can debug the program only when I click the Submit button at the end of the form. if the form is doPost then by …

Member Avatar for Despairy
0
200
Member Avatar for jorge.carmonajr

I need help with a program i am writing( i am new to programing). I am writing a program to Coordinates have the form (x, y, z) Use double variables to represent the private data of the class. Provide a constructor that enables an object to be initialized when it …

Member Avatar for jorge.carmonajr
0
200
Member Avatar for Despairy

Hi, I'm having a problem with the stop() and play() functions The first frame function works fine during the first run of the program but as i hit space in the last frame ( go back to frame 0 ) the first frame function saying whether to stop or play …

0
85
Member Avatar for subtoneweb

Below you will find a game I written in my spare time from college. Any and all critique welcome. I plan to expand this to a console RPG later, and eventually GUI. All in C++. BTW, nice forums. //============================================================================ // Name : Monster Shot.cpp // Author : Dave T // …

Member Avatar for deceptikon
0
399
Member Avatar for Despairy

Hi , just started programming in MATLAB and I have a question. Image files can be written as RGB/GRAYSCALE/INDEXED and more types, from what I saw in MATLAB you can read an image by using `imread()` function the only difference is what it returns. [img,MAP] or img how do I …

Member Avatar for Taywin
0
144
Member Avatar for Memo143

#include<iostream.h> #include<conio.h> #include <stdlib.h> int main() { int *ptr[5]; int a[] = {1,2,3,4,5}; //declaring and integer array char b[] = {'a','b','c','d','e'}; //declaring and Character array *ptr=a; //assign values of integer array to integer pointer array for(int i=0;i<5;i++) //by looping, Print values of array a, pointing to pointer { cout<<"A["<< i+1 …

Member Avatar for Schol-R-LEA
0
122
Member Avatar for anukavi

*Hi, Greetings to u all ... I am new to this website as well as in C++. I got a question in c++. I need to remove decimal point from amount (declared as CString) Eg. Amt is 145.76 I need the final output as 014576 and same to be stored …

Member Avatar for anukavi
0
99
Member Avatar for soujanya.bhat.184

I am not able to understand the concept of virtual functions. When a member function of base class is redefined in derived class,the redefined function can be used to get desired output. Then why there is a need to use virtual functions? For instance, the following two codes produce the …

Member Avatar for Agni
1
196
Member Avatar for wanu

Please, help me about bisection method in C +? Obtain the local minimize of the function f(x) = X5-5X3-20X+5 on [-3,O] and [0,3] by bisection method >> and run it in a loop help me++++

Member Avatar for arghasen
0
79
Member Avatar for slygoth

I am trying to store some values return from a function. Its returning three values that i want to use in the main function. int display() { int iter; int num[4]; if(dl!=-1) { for(iter=0 ; iter<=al ; iter++) { cout<<t[iter]<<", "; num[iter]=t[iter]; } } else cout<<"EMPTY"; return num[0]; return num[1]; …

Member Avatar for Despairy
0
196
Member Avatar for main()

Hello, I would like some help with a problem presented in this video: http://www.youtube.com/watch?v=sceTbcz_WGc The problem is titled "Extra Credit" and it is near the very end of the video. I managed to complete the first problem, but this one seems a lot harder and I'm not sure where to …

Member Avatar for Despairy
0
109
Member Avatar for Tinnin

Hi all. I'm starting to learn a bit about template functions and I have a question regarding declaration in a header file. My code is as follows (from "Accelerated C++, chapter 8"): #include "Split_Template_func.h" #include <iostream> #include <iterator> using std::cout; using std::cin; using std::string; using std::getline; using std::ostream_iterator; int main() …

Member Avatar for Tinnin
0
11K
Member Avatar for Ankit.duke

Do any one have idea of implementing the moore machine by c Programming implementation??

Member Avatar for Despairy
0
75
Member Avatar for Sasquadge

What I'm trying to so is have calc grab the add, mult, sub, div from the fraction.cpp and do that one thing I curious and can't figure out it the how to do the formula in the function and return the value to add the fractions. Can anyone give me …

Member Avatar for Despairy
0
214
Member Avatar for FreddyGIraheta

Alright you guys im new to c++ and programming and i have this homework assignment that is incomplete at the moment and i dont know where i messed up. /*Write a program to compute income tax as follows: First, display the following menu and ask the user to select his …

Member Avatar for Despairy
0
213
Member Avatar for sarafuddin

Can I get the question's solution? Define a structure called Toy with the following members: . Name of Toy . Price of Toy . Made in (the place where the toy is made) . Manufactured date (define as a structure with date, month, year) Using the structure defined above, write …

Member Avatar for Despairy
0
173
Member Avatar for i3-540

I am developing a very simple notepad-type program in C++. The only problem is that when I prompt the user to delete their newly written text file, it doesn't work. Since I let the user pick the name for his/her file, I can't figure out the code to delete it. …

Member Avatar for i3-540
0
770
Member Avatar for Koji01

hi guys...i have a problem concerning strcmpi not equal while inside a while loop. Check out my code below: #include<stdio.h> #include<conio.h> #include<stdlib.h> #include<string.h> main() { char yr[4],new_yr[4]; int x=0; FILE *fp1; printf("Enter Year: ");scanf("%s",new_yr); printf("\n"); printf("You Entered Year %s\n\n",&new_yr); if(strlen(new_yr)==4) { fp1=fopen("year.txt","r"); while(fscanf(fp1,"%s",yr)>0) { if(strcmpi(yr,new_yr)!=0) { fp1=fopen("year.txt","a"); fprintf(fp1,"\n%s",new_yr); fclose(fp1); x=1; …

Member Avatar for Koji01
0
118
Member Avatar for mikesr

Hi! I'm trying to read wstring from file. This is an file content example: "83 118 269 ... " The number 83 represent "S", 118 represent "v", 269 represent "č", and so on.. So, I tried to read the numbers into int. But the problem is, that I don't know …

Member Avatar for mikesr
0
167
Member Avatar for siram1

write a programe that read amount of money ranging from rm0.10 up to rm5.00(multiple of 10cents). Display number of coins that can be used tp form the above amount. eg. input=rm1.40 , output: 50cents=2, 20cents=2, 10cents=0

Member Avatar for Despairy
0
79
Member Avatar for myk45

Hello All! To check for return values from a function and setting error flags, i am currently using the following approach: bool fine = true; fine &= func1(); fine &= func2(); .. and so on. if (!fine) { // error } Could anyone please let me know if there is …

Member Avatar for myk45
0
203
Member Avatar for montjoile

Hi! I want to execute a method without pressing the enter key, what I want to do is get the press key an save it in an array while the user is typing, but I dont know how to execute an event without pressing the enter key here is my …

Member Avatar for montjoile
0
449
Member Avatar for olusegun.oluwadamilola

Write a program: A company requires a human resource application to manage the data base of the company’s personnel. The system to be designed must be able to register workers and their details: name, date of birth, marital status, race, sex, cell number and ID number.

Member Avatar for np complete
-3
60
Member Avatar for Manojpandey96

(a) (b) (c) (d) * ********** ********** * ** ********* ********* ** *** ******** ******** *** **** ******* ******* **** ***** ****** ****** ***** ****** ***** ***** ****** ******* **** **** ******* ******** *** *** ******** ********* ** ** ********* ********** * * ********** I managed to do a and …

Member Avatar for Despairy
0
126
Member Avatar for abrarsyed

hello frends, i m havig a problem with the deletion of node int the tree plz help me to get my code debugged void delete_node(struct node *temp,int data) { struct node *temp2=NULL,*temp3; if(temp->data==data&&temp->left==NULL&&temp->right==NULL) { temp=NULL; } else { while(temp->data!=data) { printf("\n temp = %d",temp->data); temp2=temp; if(temp->data<data) { temp=temp->right; } else …

Member Avatar for Despairy
0
167
Member Avatar for samohtvii

I was just wondering if anyone can give me some info on converting C++ to C. I don't really care about finding a program to do it for me, I would just like to know what is different between the two. My program is 'fairly' simple. uses file IO, prints, …

Member Avatar for deceptikon
0
302
Member Avatar for Despairy

hey, i need suggestions of programs to ease the access to usb devices like webcam in a c++ program im writing. this post is made because i already tried a few suggestions like videoocx and videocapX but unfortunately they arent compatible with windows 7 64 bit , or just cant …

0
110
Member Avatar for Manojpandey96

Can someone help me with writing C++ program using loop for the following fragment.. I tried damn hard to do so, but nothing i achieved. The fragment looks like this: & & & & & & & & & & & & & & & &

Member Avatar for deceptikon
-1
97