15,539 Topics

Member Avatar for
Member Avatar for WolfPack

Hello, I am developing an application in Win32, ( No MFC at all ). It is an MDI application, and I am using Keyboard accelerators. The Keys that I have assigned for accelerators are working properly, but when I press something that is not an accelerator, such as Ctrl + …

Member Avatar for WolfPack
0
264
Member Avatar for simplex85

I am doind a lab for my class and the guidlines is suppoes to consist of an input file with student names and 10 quiz grades. The output file is suppose to produce the same format as the input file but one extra column, and that extra column is suppose …

Member Avatar for kreitcher
0
354
Member Avatar for numerouno543

Hello..... I've written this simple C program to return the IP of a hostname ... this program compiles perfectly as well the Output is built...however, on executing the output, the Output crashes..... Can someone tell me what's the problem? Regards. [code]#include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #include <winsock.h> …

Member Avatar for numerouno543
0
311
Member Avatar for skprasat

Assume that i have a file called "test.txt". can u help me how to store the previously modified date and time.. so tht when i modified that file again, say after 2 days or after 1 hr, i need to compare the last two modified date and time. regards prasad

0
100
Member Avatar for skprasat

Hi, Does anyone know how to check for a file access date and time? The function returns the modified date and time and i need something that compares the accessed date time to the current date and time. regards prasad....

Member Avatar for skprasat
0
4K
Member Avatar for komalac

Hi All, Can any on guide me in the logic / algorithm to implement 2 stacks using one array and a queue using 2 stacks. I need this very urgently. Thanks in advance. Komala

Member Avatar for Dave Sinkula
-1
240
Member Avatar for limu

i am problem in codeing in 3 program in Visual. they are 1. "For a given number of people, write a program to simulate Joseph's problem. (You must use circular queue maintained using double link list.)" 2. Write a program to sort a set of points using Merge sort of …

Member Avatar for Dave Sinkula
0
61
Member Avatar for noman13

Hi guys, I need help with this code, I am trying to figure out how can I add semaphores to this code in order to have just one at a time accessing the shared memory. Thanks, [code]/* elevator.c The elevator process starts a people process which runs independently, except that …

0
111
Member Avatar for petethepop

I'm not a c-programmer, rather a guy who inherited a system that previously had an I/Q demodulation in a gate array, need to move it into c-code. I have 1024 sample buffer that was synchronously digitized with x4 clock, so samples are alternately +I, +Q, -I, -Q,....... Need a snippet …

Member Avatar for petethepop
0
231
Member Avatar for shre86

I am trying to develop a basic communicating link using windows sockets in visual studio.net2003... but it is showing an lnk2001 error.. is it necessary that have to get the platform SDK and install it before i can use winsock2.h????

Member Avatar for shre86
0
172
Member Avatar for khaagner

Hi, Inherited problem in that a programmer has left for better pastures overseas and that without trace - no source code found just a working prototype that actually needs very little modification. The application connects to our website and downloads information to the PC's SCREEN. Need however for this information …

0
68
Member Avatar for cuperman

Can any one tell me how to disable and enable ctrl c and ctrl z interrupts in a c program? also what is the use of sscanf and its syntax?

Member Avatar for Dave Sinkula
0
83
Member Avatar for sadeolah

pls i reallly need help with this problem.i want to convert binary numbers e.g 000000101010 to decimal values(30,40,50) in C language. i know how to convert it manually but am finding it difficult writing a program for it.thanks sadeolah

Member Avatar for Dave Sinkula
0
90
Member Avatar for Robert G

I have a project creating a cartesian point, then a line segment, then a line comparison. Each has its own class .h and .cpp file. Main just starts the program to CartesianPoint test, in the point class. My question is after I create an instance of the point class and …

Member Avatar for Dave Sinkula
0
81
Member Avatar for rkarimi

I'm using a set of classes with lots of *.h files. These files are located in a separate directory & I do not want to copy them to my own folder. I can add the path of the *.h file I use in the #include. However if that *.h file …

Member Avatar for Dave Sinkula
0
87
Member Avatar for hemanth.balaji

How do you CENTER & BOLD the labels of the columns (i.e headings) using ListView. I did not understand the below found in MSDN.. /* If a column is added to a list-view control with index 0 (the leftmost column) and with LVCFMT_RIGHT or LVCFMT_CENTER specified, the text is not …

Member Avatar for WolfPack
0
126
Member Avatar for jr_coder

hello I have a question: how long it takes to create a win32 dos/cmd bash shell overlay program. I need to create that one. but i have no enough experience. please any suggestions will be appreciated. thanks

Member Avatar for darklordsatan
0
152
Member Avatar for evilsilver

i have this for loop in my program that i am creating but it is counting further than it is supposed to and trying to call to an unknown variable thus creating an error. here is the code that kicks back the error. [code] for (i = 1; i <= …

Member Avatar for Dave Sinkula
0
79
Member Avatar for Merrissey

Lets say I have the following as a string: 097102099105110 What I want to do is find the ascii character represented by every set of 3 digits. So the ascii character of 97, then 102, 99, 105 and then 110. Could anybody point me in the right direction here?

Member Avatar for Dave Sinkula
0
237
Member Avatar for Zackery

Ok so I have this program and Im using 2 functions that both use "buffer" to move the images to the front screen. Well I used create_bitmap(800,600) to make the buffer, but im using that in both functions so, they both are diffrent buffers! So when I run the program …

Member Avatar for Dave Sinkula
0
132
Member Avatar for elek

Hi, I have a program and i cant seem to get it to work. I need to write a program that can take up to 50 strings and then reverse them... The actual question is: Write a program that will prompt the user for two strings of characters(each string has …

Member Avatar for elek
0
178
Member Avatar for yonoid

I have a problem with some controls, in order to make the aplication more attractive i put a Bitmap in the back, but then i have a big problem, 'cause the control aren't transparent so they have an awfull gray rectangle. Coul some one can tell me how can i …

0
80
Member Avatar for sameersbn

hello everybody! i am developing a client/server application for streaming audio in linux.. i have already implemented the mp3 player and buffering... could anybody tell me how to create threads so that the child process continues to receive the audio buffer packets while the decoding of the received buffer is …

Member Avatar for Dogtree
0
68
Member Avatar for JohnHull

Write C functions to perform the following tasks: Given a sorted double array x[i], i=0 to n and a double t, write a function which uses a binary search algorithm to find k such that x[k ยก 1] < t <= x[k]. Many thanks for your help!

Member Avatar for JohnHull
0
136
Member Avatar for Narue

For those of you who don't know, Daniweb has an IRC server. I'm there a lot, and I don't see any of you. That's not good because I'm there, of course. Real time chat with the resident guru ([B]shamless[/B]) will make you smarter ([B]utterly shameless[/B]) and cooler ([B]words cannot express …

Member Avatar for Dave Sinkula
0
142
Member Avatar for rkarimi

/* I'd like to read some data from hard disk & then manipulate them as const variables. Here a simple version is attached. I do not know how to Initialize a const array by FUNCTION */ [code]#include <stdlib.h> #include <stdio.h> int *MAKE(const int n,int i) { int V[n]; V[0]=10*i; V[n-1]=2; …

Member Avatar for Dave Sinkula
0
105
Member Avatar for maldini

Hi Does anyone know why the following code causes me a memory leak: [code]HGLOBAL hGlobal = GlobalAlloc( GMEM_FIXED, aJpegSize ); void* p = GlobalLock(hGlobal); memcpy((char *)p,imageptr,aJpegSize); GlobalUnlock(hGlobal); IStream* pStream = NULL; if ( CreateStreamOnHGlobal( hGlobal, TRUE, &pStream ) == S_OK); { if ( aPicture == NULL ) delete aPicture; aPicture …

Member Avatar for maldini
0
133
Member Avatar for stage

Hello, im new to C and I'm stuck with a program. I now use this code to change some numbers [CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> #define relays 8 int main(int argc, char *argv[]){ int relay = 0; if (strtol(argv[argc-1], NULL, 10)) { if (strlen(argv[argc-1]) <= relays) { int a; …

Member Avatar for stage
0
94
Member Avatar for hemanth.balaji

Hi guys, How do you implement ACDSEE like file switching within a current directory using win32 Api. As in, in my project I am reading a "DICOM" file as input and now I want a way in which I can view the next file by just clicking on a "Button" …

0
57
Member Avatar for frederickade

[SIZE=3]I want to determine CPU usage of a application running in a windows Embeded NT platform.With regard to this i have already tried using Performance counter of the CPU to determine ,but its not working in Embeded NT..so..pls.. Can anyone help me out..its very URGENT... :!: [/SIZE]

0
66

The End.