15,552 Topics
| |
The program that I want to do is a program that lets you deposit and withdraw money, and that it can display the total amount that you have inputted in the transaction. Now my problem is, I don't know how to display the total amount and how to do a … | |
I am new in c++. I need to read a text file containing something like this data: 0.6662 0.5435 0.5545 0.55487 0.4346 0.7698 0.8965 0.56438 ... ... It is 100 rows and 4 columns I write the following codes: #include <iostream> #include <fstream> #include <string> using namespace std; //The main … | |
I know the function textcolor() included in conio.h in borland compiler. but this function is not present in vc++. also if you can provide me the text formatting functions,or header file containing it. i will be very thankful.......so please help me......thanks | |
Hi, I have just started out with sqlite in c but I can't seem to return the results of the select statements. There are so many functions that I don't know what to use as none of them make any sense. So can anybody give me an example of how … | |
I am looking for a good and neat looking C compiler ! Can I do ANSI C programs in Microsoft's Visual C++ 2010? If then ,HOW? please give me the step by step instructions to accomplish that task? Are there any other good compilers? is dev c++ good enough? Right … | |
Hello everyone, I am looking for an example of a call to bind.exe. The documentation on this platform sdk program is unclear. I would like to bind an .exe file to a specific .dll. How should I code the bind command? Please don't ask me to enter " bind /?" … | |
wen i run coding in tc it shows error that the header file cannot be detected. i have tried changing the directory. but it still has no effect. | |
Good afternoon, i'm getting an error when I compile "undefined reference to 'TestScores:theAverage(int *,int)" I'm not sure what the compiler is telling me. Any assistance is welcomed. Art header // this is the header file for class TestScores #ifndef TESTSCORES_H #define TESTSCORES_H //this idea with this class is to take … | |
Hi! I have optimized the program posted in [URL="http://www.daniweb.com/code/snippet286940.html"]Http-webserver in C[/URL] to my sytem.Ok!. All the things in this program are fine.I inserted index.html file to this program.Now I want to share my files such as pdfs via LAN with this program.How to do that.Please help me. [CODE]#include<stdio.h> #include<string.h> #include<arpa/inet.h> … | |
This is a simple-web-server made in C.. [COLOR="Red"]Supported OS :[/COLOR] I have made it on Ubuntu 9.10 ... and i think it will run on all linux system .... [B]Windows is not supported[/B] [U][B][I][COLOR="Red"]Compiler Instructions : As this is a web server so it will host on port 80 to … | |
i am given an assignment to write code on interpolation search binary search(searching an integer in an ordered list). bt i dont have a clear idea about about both of them as i missed the theory class.so can anyone suggest me from where i can get satisfying information about them? | |
First of all I want to thank the guys form this forum for there work and help that I found more then use full an different occasions. Here is my c programing exercise. Write a c program that shows all the products tahat have the price over 10. Any help … | |
Hi! I'm pretty new to C and have to write something that handles strings. I have some experience with python and C++ but i find C string handling pretty strange/ugly. Is the following code really the best way to put together a string containing multiple strings? [CODE] strcat(string1, string2); strcat(string1, … | |
I am a B.Tech 1st year student.I am unable to understand the program given below.Please any one explain me.Any help would be appreciated. This program is for printing longest line of given input lines.. [#include <stdio.h> #define MAXLINE 1000 /* maximum input line length */ int getlines(char line[], int maxline); … | |
[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(" … | |
That is a stack program - I tried to change from integers to characters so when you enter a single char of a-z. I ran the program then it displayed shown below: Enter a number: <EOF> to stop: a Enter a number: <EOF> to stop: Enter a number: <EOF> to … | |
Hello guys, I am new here. I have been practicing programming in C as I am going back to school. The program below is supposed to be really simple. It would help you calculate the factorial of a number. But I don't know why I can't get the scanf function … | |
Hello there, Kindly seek your help with a C programming language program that: 1 Reads reads and modify a text fine called mydata.txt 2 In txt file, we must enter the following data : name surname telephone number like this: John West 6976688742 3 The program should be able to … | |
Hi everyone, I've been banging my head against the wall with this for a while. How can I read from a file if it begins with a certain string of text? Example: ...other lines... [U][I]depends=('curl' 'zsh')[/I][/U] ...other lines... I want to read the line in that file that starts with … | |
Hi every one, I am currently working on a server program which executes a series of system commands on receiving a messgae from the client(in C). what the server essentially does is he cd's into a particular directory and executes a shell script that calls make utility and does some … | |
Hi all, I am developing the Test Engine for an aviation application. The application has a file a.c that is calling an external function CREATE_SAMPLING_PORT(). My Test Engine has a file b.c that is calling CREATE_SAMPLING_PORT() as well. Each file is in different folder and has its own makefile. This … | |
2. A student studying Information Technology at Polytechnic of Namibia is examined by coursework and written examination. Both components of assessment carry a maximum of 50 marks. The following rules are used by examiners in order to pass or fail students. a. A student must score a total of 40% … | |
I wrote this round robin code and I want to calculate Response Time and Throughput [code] #include <stdio.h> #include <stdlib.h> // Data Structures typedef struct process{ char jobName; int arrivalTime; int execTime; struct process *next; } P; typedef struct result{ char Name; struct result *next; } result; // End of … | |
problem: a list represented using cursor based implementation contains all ACT, BSCS, BSICT, BSIT and BSMATH students. A dictionary is created implemented using open hashing for BSCS and BSIT students. Each grouping the dictionary is a list implemented using cursor based. given below is the definition of the LIST, Dictionary, … | |
I have a look up table as follows: [CODE] // A structure to hold all the commands and function pointers typedef struct { char functionName[256];// The function name is used to refer to the function pointer int (_stdcall *myfunction)(char *, char *); // This defines the function pointer } LOOKUP_TABLE; … | |
I'm going through K.N. King's introductory [i]C Programming: A Modern Approach (2e)[/i] and every time I see the code in the book, I can't help but wonder what's the better way to write your code in the following situation. Should I use the curly brackets or not, and how much … | |
Hi, Is anyone aware of a trial UML or a freeware UML that can generate a sequence diagram from a code written in C in visual studio 2008? Thanks, rapids79 | |
I have been advised by many people that it is better to use integer return type for main function instead of void ! I actually dont understand what return 0 means .. main returns 0 value to program ! What does that mean ?! Could you please help me understand … | |
I want to learn C++ but there are so many poroblem in undersatnding this. plz send me some places list where i can learn C++ so fast... Thnks =============taylar [URL="http://autotradeinsurance.com"]Auto Trade Insurance[/URL] | |
i want to know the exact and correct definition of a linear list.should i mention about predesessor of every element too?or mentioning only one sucsessor for each element is enough to define a linear list.pls give an answear asap.i am really confused about it. |
The End.