15,550 Topics

Member Avatar for
Member Avatar for chelo77

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 …

Member Avatar for WolfPack
0
185
Member Avatar for Kashif

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

Member Avatar for Ancient Dragon
0
213
Member Avatar for rontab68

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 …

Member Avatar for rontab68
0
104
Member Avatar for chelo77

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 …

Member Avatar for Salem
0
100
Member Avatar for ianrosengren

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?

Member Avatar for ianrosengren
0
99
Member Avatar for degamer106

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 …

Member Avatar for degamer106
0
88
Member Avatar for jack223

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 …

Member Avatar for Narue
0
208
Member Avatar for ani_manit

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?

Member Avatar for Ene Uran
0
70
Member Avatar for vamsi.rgiit
Member Avatar for SpS
0
49
Member Avatar for csjenci

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) …

Member Avatar for iamthwee
0
116
Member Avatar for porterrj

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 …

Member Avatar for SpS
0
120
Member Avatar for thehakan

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:)

Member Avatar for thehakan
0
84
Member Avatar for degamer106

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 …

Member Avatar for degamer106
0
88
Member Avatar for complete

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]

Member Avatar for complete
0
97
Member Avatar for Braga_ESI

good mornig i would like to know how to make a function that can play one song that's saved in a file?

Member Avatar for andor
0
65
Member Avatar for musicmancanora4

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 …

Member Avatar for Narue
0
130
Member Avatar for some one

Hi every 1 i need to have some application of the priority queue thanks :cool:

Member Avatar for Narue
0
107
Member Avatar for prasath

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

Member Avatar for Narue
0
72
Member Avatar for degamer106

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: …

Member Avatar for degamer106
0
63
Member Avatar for cinderella

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! …

Member Avatar for Narue
0
168
Member Avatar for musicmancanora4

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 …

Member Avatar for Narue
0
150
Member Avatar for Kushal Thakkar
Member Avatar for Narue
0
124
Member Avatar for harishkumar09

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 …

Member Avatar for iamthwee
0
62
Member Avatar for ultirian

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 …

Member Avatar for ultirian
0
159
Member Avatar for myloginh10

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]

Member Avatar for Narue
0
84
Member Avatar for srishekh

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 …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for DashM

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; …

Member Avatar for AstroNox
0
94
Member Avatar for anands

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? :?:

Member Avatar for Lord Soth
0
185
Member Avatar for debugger

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. …

Member Avatar for debugger
0
82
Member Avatar for vicky_dev

Hi all, what exactly is segmentation fault or access violation and exactly when does it occur? Why does the following program work correctly : [code] #include <stdio.h> #include <conio.h> int main( ) { int a[5]; a[20] = 20; a[-20] = 30; printf("%d %d", a[20], a[-20] ); getch( ); return 0; …

Member Avatar for Salem
0
73

The End.