15,551 Topics

Member Avatar for
Member Avatar for dile

I need to figure out a way to check for conflicts in a Number Puzzle. This is how the number puzzle works.... It has a [U]1D array of size 81[/U]. It is filled with integers from 1-9. When the user enters a number i need to make sure it's valid …

Member Avatar for oboler
0
160
Member Avatar for shre86

hey i would like to know if there is anyway i can send an object or a structure directly using any winsock2 function.. its mighty difficult to convert to a string and send as required by WSASend and send functions..

Member Avatar for Dave Sinkula
0
110
Member Avatar for dello

Hi all.. wonder if anyone can guide me. I am writing a program which reads values from a text file, the text file includes both characters and float values, below is a sample of the data.. [QUOTE]London 7.24 8.15 6.45 3.24 3.66 2.45 4.71 6.78 6.45 8.61 7.45 6.55[/QUOTE] The …

Member Avatar for BruceWilson512
0
261
Member Avatar for NejiHyuuga

I have a program that I know I need a string to use. Problem is in class we did a program with strings in which we input one name like "Dan" and another name like "dave" and it would say which is bigger, how many characters are in each ect. …

Member Avatar for Dogtree
0
148
Member Avatar for johnson9000

Which method below requires less processor time? [CODE]class obj{ public: void DoSomeThing(){}; }; int main() { obj *p = new obj; p->DoSomeThing(); // OR obj theObj; theObj.DoSomeThing(); return 0; } [/CODE] Thanks for your help. W.Johnson

Member Avatar for johnson9000
0
148
Member Avatar for amna zafar

hi i have a project to complete within one month which is of the graphical representation of tower of hanio ............. i-e that all the movements of the plates should be shown.........plzzzzzzzzzzzzzzz help me out i need ur help desperately bye

Member Avatar for Dave Sinkula
0
69
Member Avatar for Mahen

Am writing a program to find the binary directory of any executable, so I use FindExecutable() but sometimes it does not find the executable and i want the program to know that the Executable has not been found but i don't know how, please help. [code]#include <windows.h> #include <iostream.h> #include …

Member Avatar for Mahen
0
540
Member Avatar for harshchandra

I was tring to write some data in a file from the singly linked list and also read the data from that and append it to singly linked list in the begening of the program.For this i had written two seperate functions . 1. writetofile 2. readfromfile for appending the …

Member Avatar for harshchandra
0
145
Member Avatar for biqa

Hello People I want to write a c program to run external programs. For example, i need the c program to open internet explorer or open and run another program writen in java (or another programming language)? Can any body give me any tips of how to go about this? …

Member Avatar for frrossk
0
148
Member Avatar for Judas

Hello Im hoping someone could help me with this code, i have used comment notations to show problem areas. If anyone has suggestions on how to improve this code or see's something i have used that may be wrong(mixing the wrong class or code) please reply. [code]#include <fstream> #include <iostream> …

0
68
Member Avatar for shre86

I am writing a windows program.. in that i ve to do one job and the other only if the user tells me to do it and then i ll interuppt the first one.. if i create a messagebox for one i.e the user input it waits till what the …

0
71
Member Avatar for arvind

I'm getting to know about the various graphics functions in C. I'm planning to create a text editor using C(turbo C).I came across a function installuserfonts() in the graphics.h header file.but the function uses only *.chr font types where as the type of fonts i have is *.ttf.Is there any …

0
37
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
267
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
355
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
323
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
101
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
241
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
62
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
112
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
233
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
174
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
69
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
84
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
91
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
129
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
154
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

The End.