- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 1
Re:
hi i was compiling a program in linux , the program had conio.h file which is generally used in turbo c in windows. now the program is not compiling and giving errors. so what is the substitute . as clrscr() cant work without this file. |
|
Re:
i must write a program that will convert lower case letters to upper case and vice versa and if a number is entered it must display char is not a letter here is what ave written but when i run it it does not do the conversion.thanks //to convert lower … |
|
Re:
Hello everybody, I have a problem with libpng library, I am trying to use my own memory allocation routines. So, as stays in doc, I define PNG_USER_MEM_SUPPORTED and want to use png_create_read_struct_2() instead of png_create_read_struct(). png_create_read_struct_2 takes following parameters: [CODE]png_structp png_ptr = png_create_read_struct_2 (PNG_LIBPNG_VER_STRING, (png_voidp)user_error_ptr, user_error_fn, user_warning_fn, (png_voidp) user_mem_ptr, user_malloc_fn, … |
|
Re:
i just want to find out '?','/','', ect, from a char array, can anyone help me to find out what's wrong with the code below? thanks the reture value is not always what i want? static int is_valid_function_name(char *function_name_string) { for( ; *function_name_string !=' \0 ' ; function_name_string++ ) { … |
|
Re:
Hi I am writing a toy encryption method objecy oriented program in which user enters a statement, and each character in the statement is replaced by another character which are stored in a 2D array. I have created a static array in which each alphabet has a value in 2D … |
|
Re:
We are supposed to write a program which asks for the month, date, and yr and then outputs the day of that date. **input:** Month: 7 // This is July Day: 4 Year: 1776 **output:** July 4, 1776 was on a Thursday Formula: day = (r + [2.6m - .2] … |
|
Re:
i can't figure out how to solve this error, i've searched online, but any solutions i've found use terms that are beyond me (as i am still a beginner at C++)..so it's been a little tricky to crack this. basically all i'm trying to do here is find the length … |
|
Re:
Hi All I' m a new member of Dani Web Community.my problem is with nested linked list implementation.when i insert second node in linked list, it always overwrites the first. my declarations are as follows: struct dataset { int key ; char value[30]; struct dataset *ptrdataset; }*ptrd; struct geometry { … |
|
Re:
#include<stdio.h> #include<conio.h> #include<string.h> #include<iomanip.h> FILE *fp1, *fp2; int count; struct record { char name[20]; int empnum; char depart[20]; float hours; float rate; }; void main() { clrscr(); record h; int acount=0,adcount=0,scount=0; float grosspay,totalg=0; float tax,totalt=0; float health,totalh=0; float pension,totalp=0; float netpay,totaln=0; float deductions; fp1=fopen("employ.dat","r"); fp2=fopen("payrol.dat","w"); count = 0; printf(" ""Page1\n"); … |
|
Re:
I have never seen an example of this, but I need to call a function or another bool from inside a bool! If anyone knows how this might go, please let me know. P.S. This website is awsome! Thanks, Paul //something like this, however this is not working... bool getEmployeeData(int … |
|
Re:
program of strack -------------------------------------------------------------------------------- Hi, I,m Arvind .I have problem in stack programming,please tell me how to enter no's in a stack and how to check for overflow & underflow using push & pop function. arizona |
|
Re:
am calling Form2 from Form1, and depending on the input in Form2, I want to enable/disable buttons in Form1 when I exit. However, because I need to call Form2 header before I define class Form1, Form1 is not defined when the compiler sees my call to it. If I therefore … |
|
Re:
[CODE]// Calcolo formula per Legge di Murphy ([url]www.andreagozzi.com[/url]) // Inclusione librerie in directory di sistema #include <math.h> #include <stdio.h> #include <string.h> // Funzione Main() main() { // Dichiarazione delle variabili float urgenza; float complessita; float abilita; float frequenza; float importanza; float e; // Impostazione variabile e fissata al valore 0.7 … |
|
Re:
This is my program but i cant get it to calculate my cost These are my calculations: 1) if the color of the car is blue and the cost of the car is less than 1200 add 10% of the cost of the car to the cost of the car … |
|
Re:
I'm writing a program that uses functions that I create.It hasn't been much trouble until I got to a point where I am supposed to create a function that calculates the total of everything bought with sales tax. the problem is I can't get the total which has already been … |
|
Re:
I'm having trouble with this program the objective is to Prompt the for a int. from 0-999, then split the int into three digits, then output the three digits from 000 through number entered using 3 nested for loops. I can get the second and last digits to work but … |
|
Re:
I'm having problem writing code for a program that estimates the value of the mathematical constant e by using this formula e= 1 + 1/1! + 1/2!... I just cant get this to work. Can someone please help |