15,540 Topics

Member Avatar for
Member Avatar for arpan_dce

hi everyone, this is first time i am writing in DaniWeb community.. i never did this earlier because i always find someone with a similar problem to me on this site but this one is an unique one... i am working on a plugin of quark express 6.0 in codewarrior8.3 …

0
55
Member Avatar for gebbit

Hello all. Essentially what I need to do is what is described in the topic, in the context of using winsock's recv() function. I've made some code that does what recv() does to strings so that I could find a solution without dealing with the rest of the socket code. …

Member Avatar for Dave Sinkula
0
185
Member Avatar for mina1984

hey i need help understanding recursions :s could someone give me an example of a recursion and help with steps on how to change it to a for loop? for example for(int i; i <= 10; i++) how would i change this into a for loop? thanx in advance mina …

Member Avatar for CrazyDieter
0
115
Member Avatar for smartintelleng

[B]This message is long, just focas on the bold parts which their aint that much, dont mind the smilies Plz help me solve the compile error[/B] [B]An overview of my program[/B] The program takes the results from a html form(questionaire) than either updates the files with the results or adds …

Member Avatar for Rashakil Fol
0
114
Member Avatar for cherryluscious

Hi everyone, I need help writing a program.. I have no idea how to start off ...can you please help me...I am very lost :sad: Thank you soo much if you can help because I am extremely confused. A parking garage charges a $2.00 minimum fee to park for up …

Member Avatar for Narue
0
139
Member Avatar for shre86

i am writing a program.. in that i am needed to represent an array using pointers only..(its a constraint i ve to work with).. the prob i am facing can be shown by this small program.. pls help me rectify with [code]#include <stdio.h> #include <conio.h> void main() { char a[4],*b; …

Member Avatar for Narue
0
188
Member Avatar for gmrod

[B]To the following program I need to:[/B] Homework 2.b /* crypto.c. Program that encrypts a letter by shifting the value by k*/ #include <stdio.h> #define BASE 65 #define RANGE 26 main() { char originalLetter; char encryptedLetter; int k; printf("Input a Capital letter:\n"); scanf("%c", &originalLetter); printf("Input an integer that is less …

Member Avatar for Narue
0
486
Member Avatar for gmrod

I have another queation, why this program won't sort my numbers from the smallest to the biggest?? #include<stdio.h> main() { float temp, num1, num2, num3, num4; printf("Input 4 numbers:\n"); scanf("%f%f%f%f", &num1, &num2, &num3, &num4); if(num1>num2) { temp=num1; num1=num2; num2=temp; } if(num2>num3) { temp=num2; num2=num3; num3=temp; } if(num3>num4) { temp=num3; num3=num4; …

Member Avatar for zyruz
0
93
Member Avatar for gluber

hello, :eek: hey guys do anyone know code for locking folder on 98 & xp help me pls :o

Member Avatar for Narue
0
103
Member Avatar for mina1984

hi im kind of confused about how to change a for loop into a while loop and how to change a recursive into a for loop and for loop into a recursive, i read books and searched online but it all seems confusing could somebody please simplify it for me? …

Member Avatar for Rashakil Fol
0
202
Member Avatar for shre86

Hey Anyone has any idea how to convert from any data type to strings.. so that i may use the winsock send functions for sending data.. as only strings can be sent in that.. i need to send structures .. so have to convert them..

Member Avatar for Dave Sinkula
0
131
Member Avatar for krishnans.blr

[B]Hi My name is krishnan I am working no a project called autodiscovery so I need a C code to access remote machine so that I can find out the system informatinon of the remote machine[/B]

Member Avatar for shre86
0
54
Member Avatar for rkarimi

Hi, Assume that we want to define a set of template function separately & then use them in other files, by calling their header. 1. Shoud we put function body (both define & declare) in header file as well. My current code works this way. But when I put those …

Member Avatar for rkarimi
0
145
Member Avatar for Naseer

Use the CPU trace generator to generate jobs (or process) traces and simulate the following algorithms 1. Shortest remaining time next (aka Shortest Job First with pre-emption, aka SJF, shortest next burst time). 2. Round-Robin with user set-able time quantum (the time quantum should be a userset-able command line parameter. …

Member Avatar for alc6379
0
212
Member Avatar for yaan

I've used linked lists before. Does anybody have a resource or url address on how to write a linked stack? I need to create a stack with a menu using int and char variables. Thanks.

Member Avatar for shre86
0
148
Member Avatar for Yoshidex

Hi, I'm new to the forum and need some help writing my first 'complicated' program. I have trouble writing to an existing file. I want to write to an Excel file I already created and edited exclusively for the program I wrote, but when I write the data it destroys …

Member Avatar for Yoshidex
0
338
Member Avatar for Mr.

Hello, I want to create a very simple program to test threading. Example [code] int main () { char option = 'a'; int run = 1; while ( option != 'x' ) { option = getch (); /* some code that changes run */ /* thread ? */ } } …

Member Avatar for Mr.
0
85
Member Avatar for robgxxx

Anybody out there with example source code that might demonstrate the keeping of the program button off of the taskbar with "CreateWindowEx" or the alternative method of creating a hidden window and making it the owner of the primary window. :?:

0
65
Member Avatar for Raven11

Hello, I've been working on a security based software from which I got the idea from another program. Here are the details: Upon load of the software a 4 digit string is given (I.E: 1kfh). Then you're prompt for a password. To find your password you would use a Memory …

Member Avatar for oboler
0
85
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
159
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
109
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
258
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
145
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
147
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
533
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
142
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

The End.