C Programming Knowledge Base
C Programming? I need a c programming project(some professional examples) plz help me
How long does it take to reach to a good level of C++ programming for commercial applications? I have worked around 1 year on C programming at university and work as an electrical engineer. I also have a pretty good knowledge on OOP with C++ and now I am implementing one of my course project using Classes concepts. I would like to have a competitive knowledge about C++ and VC++ for commercial applications. Could you please tell me which references I should study? and how long does it take with 5 hours/day studying and implementing to reach to this level?
How to use interrupt function in C programming? I am try to write a code for FFT in Texas 5416 Kit using C programming. I just want to know how to use the key word interrupt and what is the keyword for return from interrupt in C programming?
What certification can I get for C Programming? I already have a job and am studying C Programming at home but my new company would like me to get a qualification because it would look better for them. I am living in Japan and I don't have time to go to college to study. I just need somewhere to take and exam and if I pass, get certification.
How can I declare 8 floating point numbers in C programming language? I need to write a C program tha reads 8 real (floating numbers) from another file (that contains the 8 numbers). Problem is, I can't figure out how to write my decaration statement to take into account the 8 values that i expect to display. As in i don't know how to put in the form: float variable-name. Can someone help?
How can i read a single digit from keyboard in C programming language? Write a C program that reads a single digit from the keyboard and writes it out n times where n is the number read in. For example, the user enters the number 6, then the number 6 should be printed out to the screen 6 times. Try to enter invalid input, e.g. a character instead of a number. What happens? Amend the program to validate the input from the user and display appropriate error messages.
Which IDE shall I use to teach an introductory C programming course? I should be giving an introductory course in computer programming to students who have no previous knowledge of programming. I have selected the C programming language to be the language used to introduce the students to programming concepts. Which IDE shall I use during the course in order to be able to write and compile simple C programs with ease? I need the simplest bare-bones IDE with minimal features in order not to overwhelm the students. I want to focus on teaching them the programming concepts and not how to use a complex full-featured IDE.
Is it possible to get data from Excel when programming in C? I need to come up with a C program that will use data that have been input in an Excel file and the program must output the results to the Excel file. Is this possible? How? Where can I get more information? OK. How do I create the database then? And I heard its possible to use Excel for programming. If thats the case, what program?
How can i get a certification for C programming language? Who all offers a certification in C language and how much will it cost me? I already know the language.Is there any way I can staightaway appear for the certification examination?And can i know the names of few institutes which provide the same?Thanks
Where and what do you need to download to be able to do C++ programming? I took an AP Computer Science course using Java several years ago and now am in interested in learning C++ by myself; don't remember much about it now (hopefully my memory will get refreshed as I start) and I was wondering what programs (free) I need to download to start; for ex. I remember I downloaded BlueJay program to learn and program in Java. Any help will be greatly appreciated!
What do you think of a tutorial software that teaches basic programming of C in Filipino-English language? For any Filipino programmer / IT student: What is your opinion regarding with a tutorial software, which teaches the basic programming of C? The medium of instruction is Taglish (that is, combination of Filipino and English languages). We are currently conducting a survey, which has something to do with computer programming and software development. We do this for the feasibility study of our project. If you want to help us (i.e. answering the survey), please contact us: Send us an email.
How i can conver English Text in to Binary Language ic C or C++ programming? If i am inputing "Hello" and if i want to convert that word in to Binary than is there any methematical process which support either C or C++ programming language. If you know than please tell me and try to help me. Please tell me the whole procedure to convert Text to Binary in C or C++ programming. I am waiting for the good and well explained answer. Thanks.
What do I need to start learning C programming? So I'm supposed to be a programmer for a robotics team next year. The only problem is that I have absolutely NO CLUE where the heck to start. Should I just find some code and start typing in Notepad, or do I need to download something first? Also, if I need to download something, could you send me a link, pretty please?
C# Programming: Resizing a web browser as form resizes? Im pretty new to C#, but not new to programming. Im wondering the method behind and the code for dynamicaly changing to size of a "web browser" control (used in C# 2008 express), when the form is resized. I know a horrible way to do it by a timer, by obviously their must be another way? Some sort of other event? Any help will be loved :D
How to hide characters while typing password in c++ console programming? Hi. I'm trying to code a c++ console program which has a login system in the begining. I would want to hide the characters the user entered when they are typing in their password. How do i do that? an example: my current login now displays this and the user enters their username and password: Username : myUsername Password : myPassword But I want it to display like this: Username: myUsername Password: ********** How do i do that in C++ console? an example: my current login now displays this and the user enters their username and password: Username : myUsername Password : myPassword But I want it to display like this: Username: myUsername Password: ********** How do i do that in C++ console?
How can I check to see if a number entered is not a decimal - C programming? Basically i need to check to see if the number entered is a decimal, if it is I need to ignore it and tell the user to enter an integer or fraction. Can someone help me please ? O kind of know that is an option , but can you clear it up for me . Maybe right a snippetof code . Please, this is really complicated and I have no ideahow to do it .
C++ Programming? I am beginers for C++ Programming. PLease suggest me which program can I practice on for C++ Programming. I can go for Advance. I am totally new. If you can recommend any sites that has freeware C++ programming and I can easily learn. I am hoping for the best answer.
C Programming!? I know that it is outdated language but because I started with C++ then C# I wish to learn C too..! What is the "latest" C programming book? And what is the Best C referece? What free compilers are availabe for C? What non-free compilers are available?
C++ programming? I am a complete beginner to programming, but have to learn C++ next year at uni so thought I would give myself a bit of a headstart. The book that the course is based on is "C++ How To Program" by Deitel & Deitel. Is this a good book for me to start to learn with, someone said somewhere that it contains lots of OOP (whatever that is, and apparently its hard to learn). Could someone enlighten me please. If you don't think this is a good book, could you please recommend one for me (remember, I am a complete beginner, the only programming I have done is a pit of BASIC for picaxe ICs). Thanks for your help.
C++ programming? Write a program using the c++ programming language. The program should accept the user's date of birth. (day/month/year) It should also accept a year for which the user wants to find how old he was or will be by then.
C++ programming? I'm very interested in taking up C++ for a hobby, but I just wanted to know, how much time do I have to expect to put towards programming until I am fairly good at it? I don't really want to go to school for it, but I have like 20 C++ books lying around... I also wanted to know, since I have Java books lying around as well, does anyone find it more fun to write Java rather than C++?
C++ programming? How to create a program with some functions for a calculator. Functions include: 1.)add 2.)subtract 3.)multiply 4.)division a.)Write the algorithm with pseudo code to provide solution to the problem statements stated above. b.)Implement all the calculator functions listed above with C++ programming. Sample Output: Enter the calculation u want to perform:1*2+15/5-10 The answer is :-7 Do u want to continue(Y/N):y Enter the calculation u want to perform:
c++ programming? hi, i have by now finished the basics of c++ programming like header files, functions, structs, pointers and many more....but i have only worked with #include<iostream.h> header file and wherever i search on the internet i only get tutorials for this header file... so can you send me any links to some tutorials whee i can go further in learning....and one more question can you give me a complete list of all the header files that all available in microsoft visual c++ 6.0 with their functions may not necessarily here but through a link as well,..Thank you
C programming? in C programming we can use both %d and %i for interger variable. that is, both these give same output: printf(" %d", x); printf(" %i" , x); whats the difference between %d and %i ??
C++ Programming !!!? where i can get the c++ programming softwares? What is C++? What is Best Software /Common Softwares that used to editing C++?
c programming? in C programming we can use both %d and %i for interger variable. that is, both these are same: printf(" %d", x); printf(" %i" , x); whats the difference between %d and %i ??
C++ Programming? any body know hw to make a C++ program through turbo C++. i want a program fr my school project bt a very very simple program nt much lib function we r not thought those things being the 1st year. programs like calculator, hotel management,hospital management, salary scale or any thing like this...... a simple program i am ritin just as an example..... #include<conio.h> #include<iostream.h> void main() { int a,b,c; cout<<"\n Enter the numbers to be added"; cin>>a>>b; c=a+b; cout<<c; getch(); } so any1 get it pls help me i hv to submitt it aftr 2 days thnx i sppericiate
C++ programming? I'm currently writing a C++ program that reads in a text file and outputs certain things. So far, my program can read in the file then create a brand new file that contains the info from the first file (basically the new file is a duplicate of the first). Does anyone know how would I check for certain words or characters in the file? For example (several lines from the initial file): SCALE3 0.0000000 0.000000 1.000000 0.000000............... ATOM 1 N LYS A 2 -1.166 -1.878 1.710 1.00 0.00 N ATOM 2 CA LYS A 2 -0.110 -1.837 0.660 1.00 0.00 C These are three lines from the initial txt file. How would I do a check for the lines containing the word "ATOM" and print ONLY those lines to the output txt file. PLEASE HELP!!!
c++ programming? can someone give me specific instructions on what all i need to make/program games with c++. i need to know where to get it, how much it cost, what it does, and how to use it. i know very basic programing with c++ but i need tutorials on how to make games with it also.
C++ Programming.? The C++ standard template library contains a <string> class that can be used to handle strings. String functions that exist in the C library <string.h> are replaced by member functions of the <string> class. This project requires your own implementation of a simplified string class, called mystring. The class should contain all the basic string handling functions, as well as overloaded operators for some manipulations. All member functions should use basic operations. Make use of pointers where possible. Do not use functions from <string.h>. A driver program must also be included to test all the functions. It should display a menu and complete instructions to the user. Anyone whose willing to do this program just type the answer for the problem and post it. I will be proud that you made this programme for me. Pls Help. I need within 1 day I NEED IMMEDIATELY. Jus give me the code, if u give me links k, but I dont need them to charge for the work to be done
C Programming? I have a .c source code file and want to program into atmel development kit. Before to program the chip, .bin file has to be generated. My question is how to convert a .c file into a .bin file? Please help!
C++ programming? The following program is working properly with no error. //*** #include <iostream> #include <iomanip> #include <fstream> using namespace std; void GetAndWrite(ifstream inFile); int main() { ifstream inFile; int number; inFile.open("input.txt"); inFile >> number; cout << "number" << " is " << number; } //*** But when i want to pass the input file to a function, some errors happen. i mean the following program doesn't work. //************************************* #include <iostream> #include <iomanip> #include <fstream> using namespace std; void GetAndWrite(ifstream inFile); int main() { ifstream inFile; inFile.open("input.txt"); GetAndWrite(inFile); } void GetAndWrite(ifstream inFile) { int number; inFile >> number; cout << "number" << " is " << number; } //*** i used Dev-C++ compiler, but why the second program is not working?
C++ programming? write a C++ program to decide if the coefficients of a quadratic equation have real roots. The three choices will be to write the message “zero divide” when A is zero, write the message “no real roots” if the discriminant is negative and find the two roots when there is no error condition. DO NOT FIND THE ROOT IF THERE IS AN ERROR CONDITION. use a NESTED DECISION to do the three parts of the algorithm above. write a sentinel-controlled loop based on a character value to control the loop, q or Q will terminate the loop, any other value will continue processing. Read the value from the keyboard and write to the monitor. Use the inputs given below. 4. document the program properly, Use format for both the roots. Be sure to set the iosflags, setprecision, and showpoint. Use a setprecision of 3. also use setw for each numeric output. libraries needed: iostream, cmath, iomanip. Add the .h, math.h for other compilers Sample input: For character variable, and A, B, and C, respectively. T 2.0 -3.0 -7.0 T 0.0 5.5 1.3 K 3.0 -1.0 10.0 Q//the sentinel value Sample output The two roots are -1.266 and 2.766 (first input above) Zero divide (second input above) No real roots (third input value)
C programming? can anyone out there pls do me a c program that when i enter 2 words (e.g word1:sun word2:shine) it will give an output on how many letters is on word 1 and word 2 is similar. (in my example , the output will be 2,, because they have similar letters which is s and n) PS: i need the complete program, not just a detail of it.. pls. guys help me... tnx
C programming? I want to learn C, but don't know where to start. Can someone point me in the right direction? Where can i find some C tutorials besides the hello world tutorial? And what programs do I need?
c++ programming? I need to write a simple c++ slot machine. You can bet 0 to $100. 0 means they quit. The program should print a line that looks like a slot machine with 3 reels. Like BAR BAR BAR. Or cherries, 7, BAR. Can only contain BAR, 7, Cherries, or $. Payout is as follows: - cherries [not cherries] [any] pays 3 x bet (3x the bet) - cherries cherries [not cherries] pays 10 x bet - cherries cherries cherries pays 20 x bet - BAR BAR BAR pays 35 x the bet - 7 7 7 pays 50 x the bet If he lost say "sorry", if he won add it to his total and repeat. using these: int GetBet(), string PullOne(), int GetPayMultipier(string s1, string s2, string s3), void Display(string s1, string s2, string s3, int winnings)
c programming? how can u write a c program for the following: Accept 10 nos. from user & print no. of +ve, -ve & zero's from that 10 nos. using if, for, while conditions. for printing the 10 nos. the compiler should ask the user 10 times to print any 10 nos.
C programming? Help with making a program in C to require a password to open a folder/file. The compiler that i use is made by bloodshed software.
c programming? I am just starting to learn C and I don't know how to get the compiled program to stay on the screen? When i hit run, it flashes really quick
c programming? anyone can help me to create this program in c? input a 4x5 20 real numbers. determine the mean and median of 2nd column.
c programming? i need to know how to write a C programme that outputs its C code into the standard output. basically, when i run the programme the output should be the c code itself. how can i do it? (im using compilers Turbo C and GCC-Vim)
C programming? i need to know how to write a C programme that outputs its C code into the standard output. basically, when i run the programme the output should be the c code itself. how can i do it? (im using compilers Turbo C and GCC-Vim)
C programming? This is in c not c++ or c#. If ive shuffled a deck of cards how do i deal the cards. seven to the user and seven to the computer. My deck is a 2d string using ascii code for the deck. If anyone can help id appreciate it
c programming? Enter time to bottom: - Shaft depth is ?? Do you want to take another measure (Y/N)? any1 can write this code in C for me ? the acceleration of gravity is 9.81 * time^2 / 2 thank you
C++ programming? Given the line: a += ++a + a++; What is the correct translation of the given code line? a) a = a + a; a = a + 1; a = a + a; b) a = a + 1; a = a + a + a; a = a + 1; c) a = a + 1 + 1; a = a + a + a; d) a = a; a = a + 1; a = a + 1; a = a;
C programming? I want to learn Turbo C language. What is Algoritham & Flow Chart & Which is the best site to learn C with very easy steps
C Programming? How can I write a RECURSIVE function in C that will take in a number, n, and will display one * on the first line, then one more each line until it displays a line with n *'s. Example: draw(4) would display: * ** *** **** My main problem is getting it to print a new line at the appropriate time, and not after each *
C++ programming? Given the line: a += ++a + a++; What is the correct translation of the given code line? a) a = a + a; a = a + 1; a = a + a; b) a = a + 1; a = a + a + a; a = a + 1; c) a = a + 1 + 1; a = a + a + a; d) a = a; a = a + 1; a = a + 1; a = a; That answer was not helpful whatsoever since I am studying for a test and will not be able to do what you suggested during the exam. Thanks anyways.
C Programming? How can I write a function in C that will take in a number, n, and will display one * on the first line, then one more each line until it displays a line with n *'s. Example: draw(4) would display: * ** *** **** My main problem is getting it to print a new line at the appropriate time, and not after each *
C programming? how do i create a 19X19 two dimensional array in C? and how do i set the values of any of the points equal to either 1, 2, or 3?
C++++++++++ programming? hey thr, i hv to submit my project of C++, in my school , can i hv a code fr tht if possible on some sitew or any body could type pls help me? thnx fr helpin me out
C Programming? how can get like this out put in c? * *** * *** ***** * *** ***** ******* | ---+---
C++ programming?? How do I create the interface or a Picture for a program?? What I mean is like the Logo and task bar pictures for a program?? Example, Limwire uses a cut in half lemon type logo in its program. How did it get there? How was it made? and how do they script it in there program using a programmable langauge?? P.S I also know Limewire uses Java :P
c programming? How do you develop a program that will ask the user for an arbitrary starting date and an arbitrary ending date, then output, to a file named "test.dat" a line displaying the date for each day from the starting date to the ending date, inclusive? The program has to take into account leap years. somebody help. I have no idea how to work this out. the project is indeed for a class but the teacher did not teach anything useful to complete the project. i think the entire class feels this way. when he asks a question and the entire class stays silent, i think something is wrong with the way he is teaching.
C++ Programming? Write a program that prints the numerical value of EOF. I do not even know what EOF's numeric value is equal too. I think it is equal to -1, but a lot of texts and sites say other numbers too. I also know that EOF stands for end-of-file. Could someone help me to write this program!! I need it to end with: printf(The numeric value of EOF is: %d\n", EOF);
C++ Programming...? #include <iostream> using namespace std; void read(int a[], int n); // read the first n elements of array a bool sameValues(int a[], int b[], int size); // compare two arrays of the same size // It returns true if a and b contain the same values const int SIZE = 5; int main() { int list1[SIZE], list2[SIZE]; read(list1, SIZE); read(list2, SIZE); if (sameValues(list1, list2, SIZE)) cout << "The two arrays contain exactly the same values." << endl; else cout << "The two arrays contain different values." << endl; cout << endl; system("pause"); return 0; } void read(int a[], int n) { int counter; int list1[SIZE]; cout << "Enter 5 values:" << endl; for (counter = 0; counter < 5; counter++) { cin >> list1[SIZE]; } } bool sameValues(int a[], int b[], int size) { int list1[SIZE], list2[SIZE]; if (list1[SIZE]=list2[SIZE]) return true; else return false; } My program is suppose to do that following: 1. write a C++ function void read(int a[], int n) to read the first n values for array a 2. write a C++ function bool sameValues(int a[], int b[], int size) that returns true if arrays a and b of the same size contain exactly the same values, otherwise false. My output is: Enter 5 values: 1 2 3 4 5 Enter 5 values: 1 2 3 4 5 The two arrays contain exactly the same values. Press any key to continue . . . But if it has different numbers it outputs: Enter 5 values: 1 1 1 1 2 Enter 5 values: 2 1 1 1 2 The two arrays contain exactly the same values. Press any key to continue . . . But should be: Enter 5 values: 1 1 1 1 2 Enter 5 values: 2 1 1 1 2 The two arrays contain different values. Press any key to continue . . . It just outputs that "The two arrays contain exactly the same values." even though the five integers are all different. What's wrong? thx in advance! Thanx for all the help! for the loop bit..what do you mean? It already outputs the second row of 5 values, so wouldn't I just say that the first row equals the second row and if not it would be false. But still not getting the right answers... I did this: void read(int a[], int n) { int counter; cout << "Enter 5 values:" << endl; for (counter = 0; counter < 5; counter++) { cin >> a[counter]; } // define the body } bool sameValues(int a[], int b[], int size) { int counter; for (counter = 0; counter < 5; counter++) { { if (a[SIZE] = b[SIZE]) return true; else return false; } } // define the body } But it still doesnt't work. Sorry, this is bit new to me. Thanks so much for that!...It works now...but why is it that if I just jumble the numbers for example: Enter 5 values: 1 2 3 4 5 Enter 5 values: 2 5 4 3 1 The two arrays contain different values. Press any key to continue . . . It should be the same, not different. How do I solve that? Is the problem in the read or sameValues?
C Programming? How to you make a constant at the beginning of the program that is an array of characters??? Thanks.
C programming? Writing a program that Capitalizes First letter of any "string of characters". Also that there is a space following a punctuation. also how to write a switch that check to see if Sure Names should be Capitalized eg. McAlindon, MacDonald, DuPont, DeLeon, O’Brien.................Pleassssssssseeeeeeeee Hellllpppp
c++ programming? display(), setdata(), getdata(), putdata(),setvalu(),why we use this three , if we use what we get by this three functions , what these 5 function do,if i won't use this 5functions could we do the program could someone explain briefly and i have to use this function in order or in method or anywhere in the program plz thankyou
C++ Programming...? I'm not sure what statements to write for the following comments in order to make this program executeable? I have written some, but I'm not sure what to write for the rest. //1.Declares an input stream variable named inFile //2.Opens "indata.txt" inFile.open("indata.txt"); //3. If input file was not opened Prints "Input file not found" if (inFile.fail()) { cout << "Could not open file!" << endl; return 1; } //4.Exits the program //5.Declares a variable named number that holds whole numbers //6.Reads first value from the file into number //7.While the end of the file has not been reached if number is greater than 0 prints the number followed by " is positive" otherwise if number is less than 0 //8.prints the number followed by " is negative" otherwise prints the number followed by " is zero" reads the next number from the file //9.Closes the input file inFile.close(); return 0;
C programming??? My program is compiling without an error but when the program runs it says "segemation fault". What would cause this??? Thanks.
c programming? can someone please give me a program, in which if i give a character input,it must return its ascii value. smlarly covert ascii to characters.thanks for your help in advance
C Programming? I m having trouble to find even, odd, and prime numbers with this question... In this program you must use nested loops to print out the following details for each number from 3 to 100: • Is it even or odd? • Is it prime? A number is prime if it is only divisible by itself and 1. So 3 is a prime, because it is only divisible by 3 and 1. But 4 is not a prime, because it is divisible by 2. This is what i have rightnow, and i try to do a [even if], but it does not work at it all. Only thing it does is list the even, and prime number.. #include <stdio.h> int main() { int i; printf("Printing information about numbers from 3-100...\n"); for( i = 3; i <= 100; i++){ printf("%d\n", i); } return 0; }
Powered by Yahoo! Answers