- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 4
- Posts with Downvotes
- 2
- Downvoting Members
- 3
I am an intelligent, super talented, fascinating, extraordinary, terrific programmer...and I love to lie at times !!!
- Interests
- Painting my mind...
- PC Specs
- Thumbs up for Open Source !!!
Re:
My compiler says the Declaration syntax error is at (88,2) which is one of the brackets? I don't really know what could be wrong. Help please. I'm really new at this. [CODE] #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <conio.h> #define STD_HOURS 40.0 #define OT_RATE 1.5 int clock[5] = {98401, … |
|
Re:
hey friends i need help once again... i need to know that how to accessing a structure in another function using pointers.i mean when we returning a pointer to the main function we have have the address of the structure.how to use that address to access the structure..pls guys help … |
|
Re:
Please help me: Following is my program: [CODE]main() { char str[] = "This is //20"; char c[10], *k; int num=0; sscanf(str, "%s%[^//]*//%d",c, &num); printf("%s \n %d \n", c, num); }[/CODE] My intention is to get the first string and last number. I want to ignore the remaining text. There is … |
|
Re:
I'm trying to use the system call to append an arbitrary number of files to one specific file... when I attempt to run the program i get the error: sh: addints.o: not found sh: main.o: not found sh: rbyswt.o: not found sh: readint.o: not found sh: writeint.o: not found sh: … |
|
Re:
Hello, I was having some trouble related to a code. I wanted to pass a 2-D array as argument to a function,but I'm getting an error saying 'Expression Syntax in function Main'. I am trying to do it like this :-> void input(int **a[][10],int b,int c) { int i,j; printf("\nEnter … |
|
Re:
Hi, I have a working C source code for implementing writing of alphanumeric characters from a 3x4 keypad, similar to a normal cell phone 3x4 keypad. However, when I want to store the characters that have been typed from the keypad as a string, the characters that are on the … |
|
Re:
I think something is wrong with my Flames project.. please help me the wrong might have been the counting.. example Rizal maria I crossed out the similar letter and it came out that it had only three letters that are not similar so in F L A M E S … |
|
Re:
hi The question to which am using the for loop is as follows: Write a C interactive program that will encode a word or sentence entered by a user. The encryption will be done as follows: For any word or sentence (note: blank spaces, special characters are ignored here, i.e … |
|
Re:
im creating a cartesian plane i will plot the points but how am i supposed to determine if the points create a single straight line ? tnx |
|
Re:
how do run a cprogram on shutdown or restart |
|
Re:
Hello, world! This is my first post on DaniWeb, though I have frequented it quite often. I'm using gcc and make (on Ubuntu 10.10) with GVim for creating a foundation library in C. Within my code I've built in rudimentary profiling and assertion policies that are enabled through a symbolic … |
|
Re:
[CODE]I'm having trouble calculating the right interest expense. The solution for interest expense is 2294.48 but cant get it. #include <stdio.h> #include <stdlib.h> #include <math.h> int main () { double P,R,Y,M,X,A,MP,T,I; printf("Enter the Principle:\n"); scanf("%lf",&P); printf("Enter the Rate:\n"); scanf("%lf",&R); printf("Enter the Years:\n"); scanf("%lf",&Y); R = R/1200; M = Y * … |
|
Re:
Sometime I like to test out some Distro but I do not want to format my hard disk but I just want to use it to see how it work and maybe can try out Window 7. So I need some advise on what is the best virtual software to … |
|
Re:
[CODE]#include <stdio.h> #include <string.h> typedef struct { int count; // counter to use the word's occurrence char *word; } word; int main() { word myword[50]; FILE *myfile; if ((myfile = fopen("wordlist", "r")) == NULL) { printf("\n Error:Can't open file \n "); exit(0); } char str[99]; int position = 0; while … |
|
Re:
Here is simple C program for analog clock. Comipler: TurboC |
|
Re:
I'm Final year IT Student.I need a mini-project topic based on multimedia/Animation and also we need to start doing major project in this semester.So,I need some expert guidance and also you guys please help me by suggesting some topics for mini as well as major projects.Since i'm a lot confused … |
|
|
Re:
Hi all, I've just started learning server and client communication using socket. What I'm doing here is like a Search Engine. Server stores data (from a textfile) , then client search and check it exists or not. Everything works fine, but I can't seem to loop for multiple search. (Meaning … |
Re:
how to print the below triangle without using arrays a a b a e i a b c d a e i o u |
|
Re:
HI everybody, currently I'm using ubuntu linux.If I write program in c using c language.I'm getting a warning message while compiling.So if there any to avoid this, please inform me. |
|
Re:
I want to write a program that accepts date from the user in the for mm/dd/yy and then displays it in the form yymmdd Enter a date(mm/dd/yy): 2/17/96 You entered the date 96021? The program should be in C language.....thank u!! |
|
Re:
Question of the century? I basically want to know which would be more efficient if I wrote this code as several different variables or if I used small arrays. [code=c] int x = 34; int y = 28; int z = 293; [/code] vs [code=c] double coordinate[3] = {34, 28, … |
|
Re:
Honeslty have no idea on how is the output being generated ? [CODE] #include <iostream> int main(int argc, char** argv) { int i=1,j=-1,k=0,l=2,m; m=i++||j++&&k++; printf("%d %d %d %d %d",i,j,k,l,m); return 0; } [/CODE] output : 2 -1 0 2 1 evwn though j++ is is present that value is not … |
|
Re:
The following code runs, but it only returns the same string, as many counts as the array. I want to return all the objects in the array (values) to the "lblMessage", one by one. Where is my mistake? [CODE] int i; int count; for (i=0, count = [values count]; i<count; … |
|
Re:
Hello, I got working code of Linked List here. But I having a problem with adding an item. I added four numbers in the Linked List. First, I added 2 then 8 then 4 and the last one 16. The result would be like this: [IMG]http://i168.photobucket.com/albums/u162/SHENGTON/display-1.jpg[/IMG] What I want to … |
|
Re:
[CODE] #include <stdio.h> #include<ctype.h> main() { int c,nletters[26],i; for (i = 0; i < 26; ++i) nletters[i] = 0; while ((c = getchar()) !='!') { if(isupper(c)) c=tolower(c); ++nletters[c - 'a']; } for (i = 0; i < 26; ++i) { c = 'a' + i; if(nletters[i] != 0){ putchar(c); printf(" … |
|
Re:
how can i use the switch statement to find a value in a range? example like, [CODE]#include <stdio.h> void main() { int monthly_sales; double monthly_income; printf("Enter your monthly sales amount > "); scanf("%d", &monthly_sales); switch(monthly_sales) { case 50000: // i want make this in a range, greater than or equal. … |
|
Re:
Hi guys is this possible to write a biggest number program( biggest among 3) in a single line |
|
Re:
i'm student of M.Sc.(cs) , i wnt to kno hw to develop pojcet in 'C' language |
|
Re:
With windows XP, normal inport, outport functions do not seem to work. I downloaded a utility to open ports and then use these funtions, but it didnt help. Anyone can give details how to do parallel port programming in XP using C? |
|
Re:
I want to get the digits of a number the user entered without using arrays. Is it possible? Thank you very much. |