15,551 Topics
| |
How do you clean out the contents of an array after you take input? In my program, I put fgets in a loop to get input. However, once I loop back to the beginning to get input for the second time, the previous input values are still in the array, … | |
I'm having problems here with this function i'm making, i need to make function that will write to a text file. This function has to ask the user for the file name and check if it exists. If this is all good then it will write the string in the … | |
hi first i am using tc3 compiler which gives error for cstdlib second i want display a eng multiplication method i have done every thing but how can i shift one left or right each line like 123 11 --------- 123 123 -------- 1353 | |
Hi, Is there a faster means by which I can get data from an edit box and assign them to an array. lets say I got this intergers m_1....m_100, and I want to put the values to an int val[10][10] whaat I did was to hard code each interger to … | |
I am doing my program here which is a simple input characters classify them and display them, it has other functions as well. My problem is that i had to modify my program starting to use pointers. In the menu number 7 it asks for a charcter you want to … | |
I developd a COM to custom IE printing,for Microsoft® Internet Explorer 5.5 or later.It is not straightforward before I fixed several bugs.Ii is some kind of a simplified scriptx and easy to extend. May it help? | |
The goal of my program is to take in 2 inputs - one for the base, and one for the number (which should be of that base type). It will then do a calculation and print out the number in base 10 form. For instance, Input Output ========== ====== 10 … | |
Trace the Partition function on the following array: [0] [1] [2] [3] [4] [5] [6] 'F' 'K' 'A' 'R' 'C' 'Y' 'G' Assume that ChoosePivot returns without doing anything (the purpose of the function it to move the pivot to the leftmost position in the subarray, so by doing nothing … | |
we are making a project which converts a bmp file to a jpeg file. Can someone please tell me where to find an appropriate decription of the header used in JPEG. Basically do we need to have the header information to bring about this conversion? | |
Hi All! I'm triing in MFC to insert a string into a database, which 200k is. In the case, when the string is small, it works, but it isn't working, when the string is 200k. Here is my source code: CDatabase db; rset_ekg *ekgrs; Cstring SQLQuery,cbuff; if(db.OpenEx(_T("DSN=dsn_name;UID=user_id; PWD=passw"), CDatabase::noOdbcDialog )!=0) … | |
i have thought long and hard.......... It's due tomorrow at 8 AM. I would love to sleep on it.....but seriously my mental capacity for figuring this out is less than a two-year old. I've been trying for the past hour......how sad is that !! Please help me.....!!! makes the difference … | |
Hi everone. I need some help about o-notation. Actually I don't know so much things about that and I want to learn. If somebody send me some powerpoint documents, lecture notes or links about that, I will be happy:) | |
Ok..I get how to do binary division and have written this simple program (everything except the output with putchar()). My goal, however, is to invert my input and print it out. I ran into a few problems trying to accomplish this: - How do I get the one's complement operator … | |
I wonder what I am doing wrong here: [QUOTE] INITCOMMONCONTROLSEX InitCtrlEx; InitCtrlEx.dwSize=sizeof(INITCOMMONCONTROLSEX) InitCommonControlsEx(&InitCtrlEx);[/QUOTE] And why I get this error: [QUOTE]error C2440: 'type cast' : cannot convert from 'int' to 'struct tagINITCOMMONCONTROLSEX'[/QUOTE] | |
good mornig i would like to know how to make a function that can play one song that's saved in a file? | |
Hey guys im having allot of trouble im using a rather modulized solution which is how i need it for my assignment. However when i enter input using a function called getUserInput() that i created it accepts input correctly, but when it validates the input using my validateMonth() function it … | |
Hi every 1 i need to have some application of the priority queue thanks :cool: | |
hi, is it possible to declare constructors as private? if yes, will some one explain me how to do it or please provide some links regarding that. thanks & regards prasath | |
The program sorts numbers in ascending order. If the user enters a "-r" in the command line, the program sorts the numbers in descending order. The problem I'm having is that I can't get the **** program to read the if/else condition correctly. Maybe something wrong with my syntax? :evil: … | |
um... i'm an IT student. i'm still a freshmen though... i'm kinda confused with c programming. i have to make this program using stack. i can add, delete, and view all records but i can't seem to make my search function work. here's my codes, hopw anyone can help. thanks! … | |
Hi guys inside the double array it holds '?' character. How would i do the format printing to print it like this ithe user input variable is the size variable if 5 is typed in it suppose to print 5 rows and columns and print 2 rows and columns if … | |
hi, i want to know everything abt container classes. please help me. bye Kushal | |
One of the big disadvantages i have seen in C is the inability to read one line at a time from a text file.I haev tried writing my own algorithms to do the same but it doesnt seem to have worked all the time.Is there anybody who can help me … | |
Hi guys im trying to write a program this is the basic spec 2 teams of 11 to be picked at random and 4 reserves there are 40 people to chose from. I am seriously stumped here as I have to pick the two teams, I managed to write a … | |
Graph theory (vertex-edge) is one of popular projects for uni. students, here is a link which includes source code and explains. [url]http://www.syncedit.com/public/tutorials/university/cpp/index.html[/url] | |
Respected Sir/madam, Could you help me in understanding the dynamic memory allocation for a 3D matrix. I have attached the file.I am allocating memory dynamically for the 3D matrix,which i am using in my project. As per the concept when new is unable to allocate the specified memory it will … | |
Hi, i'm trying to write a function that enlarges a given two dimensional array horizontaly and Verticaly by different numbers. So far i have got this code. Bu it doesnt really work at the moment. Please help. Code: void BitMap::enlarge(int horiz, int vert) { bool temp[MaxSize][MaxSize]; temp[0][0]=true; int m, k; … | |
wat r all the programming languages used in mobile phone technologies?how they r used ?wat r all recent advancements in programming technologies in mobile phones? :?: | |
I am trying to delete the first node in the singly link list but cant seem to do so? My Code is below... Could someone please suggest something. thanks. This program has an enqueue function which works. `*p` is a pointer to a node which has been allocated using malloc. … |
The End.