- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 1
- Downvotes Received
- 19
- Posts with Downvotes
- 9
- Downvoting Members
- 14
- Interests
- ITS JUST C N C++ NOW...
27 Posted Topics
Re: Plz elaborate your question..... | |
this is my code .can any one please tell me why the program is not giving proper results?? [CODE]#include<stdio.h> #include<conio.h> #include<stdlib.h> #include<string.h> //2d linked list major aasg#1 //structure type struct items { int id; //item no; char name[]; int price; char color[]; items *previous; items *next; }; //functions sort(); show_all(); … | |
Hi, i am making a text editor with mouse programming.Given is my code .the compiler is not giving any error but i am unable to use enter,delete,backspace and arrow keys . can any one please tell me the logic with which i can make my project more better. THANKS in … | |
Re: [QUOTE=firstPerson;1726496][URL="http://stackoverflow.com/questions/194812/list-of-freely-available-programming-books/"]List of free programming books[/URL]. Enjoy and happy new year![/QUOTE] thanks | |
this is my program but this is not working well.according to me a window should be created and some text will be written there.but the window is not working please can any one tell me why?and how can i eject this error. mind that compiler is running the program correctly.. … | |
Can any one please tell me that why turbo c is not supported by windows 7?:?: | |
Re: [QUOTE=Ich bin würdig;1664539]Thanks for both of our answers. :)[/QUOTE] i think you can get some help from user defined functions . | |
Re: [QUOTE=lilsancho;1690174]Hi Adak Thank you very much for the advice, it turns out it was a space issue with my variables. As you said, they need space for the '\0' byte character but I was not taking into consideration the '\n' when pressing return so there was no room for the … | |
Re: [QUOTE=Narue;1694057]Split to a new thread.[/QUOTE] really true.:yawn: | |
Re: [QUOTE=UNDER-18 FG;1694629]Hey, everyone~ Being the second time posting here, I'll try to make it simple but clearly as possible :) So, my assignment this time is about writing a C program to print the following star patterns: [CODE] * * * * * * * * * *[/CODE] So, here … | |
Re: [QUOTE=Narue;1694079] A book is a good idea, but please recommend better books. [B]Let Us C[/B] is utter crap. can we take help with turbo c what do you think about it?? | |
Re: :)[QUOTE=sethii;1693515]the code is on my previous post and my file contains the words hola, banana, go, instructor, dictatorship when i compile and run, the printout is this: ----------------------------------------------------------------------- Please enter file's name: (I put) b.txt Please enter the size of the array (no bigger than 100): (I put) 10 hola, … | |
i have made a program with this algorithm but its not working properly my code is given below can you help me to remove the errors [CODE] #include<stdio.h> #include<conio.h> void main() { FILE *f; char ch; int nalpha=0,nword=0,nno=0,nsc=0; f=fopen("abc.txt","r"); if(f!='NULL') { while(ch=getch(f)!=EOF) { printf("%c",ch); if((ch>='a'&&ch<='z')||(ch>='A'&&ch<='Z')) nalpha++; else if((ch==' ')||(ch=='.')) nword++; … | |
Re: [QUOTE=terence193;1687816]This is what the question is asking: Write a program to get the user to enter a positive number. Validate the input so any negative or zero number entered is rejected and the user is to re-enter the number. and this is what i have done [CODE]#include<stdio.h> int main (void) … | |
Re: [QUOTE=aKiLa.. :);1666051]thank you.. but since i am a beginner, i really need a good topic.. can you suggest me one, so that i can work on it and show it to you people before submitting it?[/QUOTE] you can also made a text editor as i am also a beginner and … | |
Re: [QUOTE=guidely;1666417]Becuz I don't know how to implement. Can u show me other way?[/QUOTE] you can also do it by using a two dimensional array but it has limitations as it will only store the data of a same type. it will be stored as you are storing something in a … | |
Re: [QUOTE=Uni;1666509]From a text file, i should get the necessary information in order to create a beat map, a representation of what we see in music sheets, from this text file: [CODE]3 measures 3 4 time signature 4 beats 4 note, measure 1 3 note, measure 1 1R rest, measure 1 … | |
Re: Here's the code: [CODE] #include<stdio.h> main() { int choice; float TP=0.00; clrscr(); printf("Welcome to Greenwich!\n\n"); printf("This is our menu:\n"); printf("1. Overloaded Pizzas\n"); printf("2. Extreme Cheese Overload\n"); printf("3. Classic Italian Pizza\n"); printf("4. Classic Favorites\n"); printf("5. Pastas\n"); printf("6. Chicken\n"); printf("7. Baked Rice Melt\n"); printf("8. Big Time Lucnch/ Snack Loads\n"); printf("\nPlease select a … | |
Re: [QUOTE=virendra_sharma;1664363]Hi frnz , i need a code for 2^n and suppose user enter n = 4 , so the output will be 16 . Now whatever output we will get i need sum of numbers in that output e.g here we have 16 i.e 1 + 6 = 7 . … ![]() | |
Re: [QUOTE=Ich bin würdig;1664322]Can someone please check my syntax? Thanks. The program runs but the output has some kind of error. Thanks. [CODE] #include<stdio.h> #include<conio.h> #include<string.h> void Pig_Latin_Converter() { char str[50]; char nv[50]="yay"; char c[50]="ay"; char key[]="aeiou"; char keys[]="bcdfghjklmnpqrstvwxyz"; char test[20]; char *p=str; scanf("%s",str); { p=strpbrk(str,key); if(str!=p) { strcat(str,nv); printf("Output: %s", … | |
Re: [QUOTE=Leaningnew;1663397]why we need to avoid using scanf to read a character???? can anyone explain it clearly??[/QUOTE] It is because scanf is a relatively heavy function to use by it we are unable to take input of any string including space in it while gets() or other string functions can take … | |
I want to make a text editor in c or c++ with features like bold,italic,underline,save as ,save,open,font size,font colour, font type,alingment(left,right,mid),cut,copy,paste.......... Plz i need the code if any one can help me plzzzzzzzzzz,,,,,,,,,,, | |
Re: [QUOTE=KOFguru;1629253]I am having problem with `clrscr' undeclared (first use this function) (Each undeclared identifier is reported only once for each function it appears in.) when I am compiling it in DEV-C++ .....please let help me with these #include <stdio.h> #define p print f #define s scan f main() { int … | |
Re: [QUOTE=jephthah;1174931]huh?? what does this most incoherent mess of pseudo-code mean? this is garbage.[/QUOTE] in easy words we can simply write the algorithm as: 1.set a variable to be 1 2.scan the no from user for which he needs the factorial. 3.inside the loop a. set the loop to run n-1 … | |
hi this is m,e yamna midhat i saw this all during my search for the text editor .... n about my self is that i am a student of computer scince in karachi university and its my first year there i dont know much about programming,networking and bla bla bla … | |
Re: [QUOTE=KillaCampV2;1623170]Hello Daniweb, im new to coding period. I love technology and everything about it. I hope to learn some java before I get into my major classes at school. Im also thinking about C++ after i get java down.:*[/QUOTE] welcome:) | |
Re: [QUOTE=kooletz;1622589]Please help me on my bloodshed 9.4.4.2 assignment, i need to create a program that will view the name and salary. i already created 1 program but in converting Km to mile and the time of the destination when reach.. here are i need to input and to be an … |
The End.