Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #2K
~12.0K People Reached
Favorite Tags
Member Avatar for rohoni

what is the difference between malloc , calloc and realloc? what r their uses?

Member Avatar for Narue
0
1K
Member Avatar for plgriffith

I'm stuck in a situation where I'm being forced to park [url]www.parking.com[/url] at [url]www.lot.com[/url]. As much as I wish I could do a 301 redirect, it's just not possible. How do I make sure that lot.com isn't negatively impacted SEO wise? My initial thought was to run $_SERVER['SERVER_NAME'] (it's a …

Member Avatar for plgriffith
0
170
Member Avatar for rafikul

[code=c] #include<stdio.h> #include<conio.h> void main() { int a[] = {10,20,30,40,50},j,*p; clrscr(); for(j=0;j<5;j++) { printf("%d",*a); a++;/*here compiler error "lvalue required"*/ } p=a; for(j=0;j<5;j++) { printf("%d",*p); p++; } getch(); } [/code] i used turbo c++ compiler.and save this programme as abc.c why this type of errors occur?

Member Avatar for peter_budo
0
177
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
118
Member Avatar for plgriffith

Hey guys. I am running a php script (locally) which runs through a loop several hundred times. Each time through the loop the same computation is done with the exception of two input variables being different. The input variables are obtained with a MySQL query based on the counting variable …

Member Avatar for digital-ether
0
119
Member Avatar for plgriffith

Hey everyone, I finished my site several weeks ago and I also made an affiliate program to go along with it because I figured it would help if other people were basically doing the advertising for me. The problem is that nobody has signed up for the program yet. I …

Member Avatar for IdeaAlex
0
91
Member Avatar for Reedz

I have a problem with programming! I real like being a programmer but I have bad background! What can you help me on this? The question states: Create a program, allowing to display the graphs of functions, given tabular ( reading from file) and most simplest mathematical expressions. In process …

Member Avatar for mvmalderen
0
106
Member Avatar for lAmoebal

This isn't a specific question regarding a certain program or anything, so if this is in the wrong forum, feel free to move it. :confused: I was just curious how long everyone here has been programming, and how long with C++? The reason I'm asking is I'm curious as to …

Member Avatar for stephen84s
0
356
Member Avatar for jtreyes

My question is, how much should I charge for developing a social networking website? A friendster.com-type of social networking website to be exact? I would really appreciate your responses. Because somebody is asking me for it.

Member Avatar for jonwebdesign
0
149
Member Avatar for plgriffith

Hi, I have two roommate's that download movies all day, every day. It's to the point now that there is no bandwidth left for me to even surf the Internet with. My question is: Is there anyway to install some kind of software on my computer (ubuntu 7.10 or windows …

Member Avatar for danielwalters6
0
131
Member Avatar for smrhab

Hi I am kind of stuck on one aspect of a project that I am currently working on. I have a code for a number guessing game in "C" I need the program to ask the player if they want to play again after the game is done and. I …

Member Avatar for WaltP
0
129
Member Avatar for fiz hafiz

i've done all the coding, but it doesn't work, seem the if, cannot pass the information to the function.. [CODE]#include<stdio.h> #include <string.h> #include<ctype.h> #define FILENAME "ECE.txt" /*void proceed(struct registration com, int matric); void again(struct registration com,int);*/ struct registration { char code[10]; char subject[100]; int credit; }; int main() { int …

Member Avatar for Majestics
0
172
Member Avatar for plgriffith

Hi, I have two roommate's that download movies all day, every day. It's to the point now that there is no bandwidth left for me to even surf the Internet with. My question is: Is there anyway to install some kind of software on my computer (ubuntu 7.10 or windows …

Member Avatar for DimaYasny
0
98
Member Avatar for Xerema

Hello, I just began doing c++ today, and i've done a program like this: [code=cplusplus] #include <iostream> using namespace std; int main() { int num1; int num2; int valinta; int valinta2; cout<<"Haluatko pelata pelia? 1.Kylla 2.En\n"; cin>>valinta; if(valinta == 1){ cout<<"Paljonko on 3+2: "; cin>>num1; cin.ignore(); if(num1 == 5){ cout<<"Aivan …

Member Avatar for samer.daur
0
96
Member Avatar for crazywoods

Your instructor wants a program that will read in a set of grades from a file called “grade.txt” (see below and is available on blackboard under assignments) and report the total number of letter grades i.e. A, B, C, D and F in the file. You program must use case …

Member Avatar for plgriffith
0
254
Member Avatar for baliw53

can someone help me how to make this one: write a program using two-dimensional arrays that computes the sum of data in row and sum of data in column of the 3X3 array variable n[3][3]. sample output: 5 9 8 = 22 3 8 2 = 13 4 3 9 …

Member Avatar for baliw53
0
94
Member Avatar for barbiegirl

hi everyone :), i wanted to create a little program with makes the divisions of the elements of a table i wanted to create a loop which will indicate if there's a number in the table then we should c "the division cannot be made", if not we will get …

Member Avatar for barbiegirl
0
182
Member Avatar for nurulshidanoni
Member Avatar for Code.n00b

[code=c++] #include <iostream> #include <cstdlib> using namespace std; double amountSold; double galSold; double price; int start; int pump; int main() { price = 2.85; galSold = 0; pump = 1; while(pump==1) { cout << "Sales Total " << amountSold << endl; cout<< endl; cout << "Gallons Of Gas Sold " …

Member Avatar for WaltP
0
118
Member Avatar for CBarr

Hi, I am trying to understand why this bit of code is performing the way that it is. I am a novice at C++ and missed this on my test. The teacher will not discuss anything from an exam so that leaves me to try and hash it out myself. …

Member Avatar for CBarr
0
91
Member Avatar for sfurlow2

Here's a problem we were assigned for homework. It deals with functions, and I'm not entirely sure how they work. The problem is : 1. Write a program that calls the following function. ///////////////////////////////////////////////////////////////////// // function: print_splash // // formal parameters: none // // preconditions: none // // return value: …

Member Avatar for sfurlow2
0
69
Member Avatar for Havik82

Does anyone know of any good C++ software that is free and worth the download? Thanks for Replies!! (if any) :icon_wink:

Member Avatar for technogeek_42
0
171
Member Avatar for webster22

HI, anybody who knows which software is best to creat a website with the database and the buying selling options.

Member Avatar for jbinbpt
0
82
Member Avatar for drtucker

i have a homework assignment asking me to pick the highest and lowest number out of a group of 4 numbers? How would i set that up?

Member Avatar for plgriffith
0
111
Member Avatar for satimis

Hi folks, I have an icon WELCOME2.gif downloaded on /home/satimis/html/ folder. But I can't make it to work on my simple homepage. What line shall I enter on /home/satimis/html/myhomepage.html file? I tried something like <A HREF="file:///home/satimis/html/WELCOME2.gif">WELCOME</A> etc. It can't work. Only the word WELCOME displayed on the homepage. Please advise. …

Member Avatar for satimis
0
168
Member Avatar for wonder_laptop

i wrote a program called trivial.c that takes an integer "time" from the command line and does nothing but loop for 5 times and sleep for "time" seconds in each iteration. the loop looks something like this : for(i=0; i<5; i++) { sleep(time); } then a file trivial.data that contains …

Member Avatar for peaceful_soul
0
96
Member Avatar for PaKmAn

I'm not sure how far I have left to go with my coding, but after I enter my play then I want the computer to play, it just repeats its play over and over until I control c to get out. [code] #include <iostream> using namespace std; // Leave the …

Member Avatar for WaltP
0
111
Member Avatar for joshmo

hey...can anyone show me what am doin wrong here?? cant get this program to loop till the user enters a character other than "y"....it prompts the first time and its a succes. prompts the second time but does not wait for response.... [CODE]#include <stdio.h> #include <string.h> #define LEN 20 main() …

Member Avatar for joshmo
0
98
Member Avatar for Spencicle

Sorry for the 2nd post but I thought it might be seen better than if it was in my other post, which btw, thanks everyone in there for helping me. The second program i have to write is about the user inputing their annual interest rate, current balance, and amount …

Member Avatar for plgriffith
0
89
Member Avatar for Spencicle

You have just purchased a stereo system that cost $1000 on the following credit plan: No down payment, an interest rate of 18% per year (and hence 1.5% per month), and monthly payments of $50. The monthly payment of $50 is used to pay the interest and whatever is left …

Member Avatar for superjacent
0
1K