No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
what is the difference between malloc , calloc and realloc? what r their uses? |
|
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 … |
|
Re:
[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? |
|
Re:
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. |
|
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 … |
|
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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. |
|
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
[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 " … |
|
Re:
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. … |
|
Re:
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: … |
|
Re:
Does anyone know of any good C++ software that is free and worth the download? Thanks for Replies!! (if any) :icon_wink: |
|
Re:
HI, anybody who knows which software is best to creat a website with the database and the buying selling options. |
|
Re:
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? |
|
Re:
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. … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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() … |
|
Re:
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 … |
|
Re:
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 … |