Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #3K
~7K People Reached
Favorite Forums
Favorite Tags
c x 19
c++ x 14
Member Avatar for djbsabkcb

Question: I have to do a program on alternating sums using vectors. I am not sure how to start this program. I thought about using an array and every even index add the value and every odd index subtract the value. Does that sound right? Any ideas?

Member Avatar for jacklin
0
2K
Member Avatar for Ymor

Ok cant get my head around this one :/ But basically i need to write a program that accpets input from a keyboard "JACK ROBINSON" then it manipulates the string to output INK SON ROB JAC... Heres what i have so far: [code] #include <stdio.h> #include <string.h> void main() { …

Member Avatar for WaltP
0
235
Member Avatar for Loaded Scissors

Hiya, I'm pretty new to C++ (using bloodshed dev). I am trying to display the path of a projectile (tennis ball) on a graph. I can do all of the calculations and output to a text file at each point however I can't find anything on the internet to explain …

Member Avatar for triumphost
0
198
Member Avatar for pscha3

Hello, I just started C++ and I have this assignment to write. I started writing it but I can't seem to get this one thing and that is [U]how to create a new contact and store it in a file. [/U] I need to know if I used the structure …

Member Avatar for adam1122
0
279
Member Avatar for zellex

Hello, I'm designing a C++ Program for a connect 4 game. I have the matrix set up, the test to determine if there is a winner, and now I need to design the computer to go against the player. This seems to be quite a challenge. First, I need to …

Member Avatar for mentkapto
0
1K
Member Avatar for Acidburn

Hey guys its me again! I'm stuck on a logic thing of where to put some code. Basically I want to take an input from the keyboard and store that into an array using a class whilst combining it with the other stuff that the class does. [code] void hangman::getletter(char …

Member Avatar for Drowzee
0
96
Member Avatar for nir_kar

hello people i was wondering if anyone could come up with a program that could excatly compute the amount of time that it takes for a simple arthimetic operation. I mean lets assume that there is a simple addition program, is it possible to find the exact amount of time …

Member Avatar for chrisbliss18
0
155
Member Avatar for Mahen
Member Avatar for bandm

Hello All, I am new to programming and have several books on starting out with C++. I was just curious if there was a publication that has a list of codes and there functions and Syntax. Perhaps with examples of how they are used. Kind of like an Encyclopedia? Thanks, …

Member Avatar for Narue
0
180
Member Avatar for sifuedition

I am actually having two problems. The first is initializing a char array to a single space for all elements. I have the loop to do this but the assignment to the value: " " is returning a compile error: error: invalid conversion from `const char*' to `char'. Then, when …

Member Avatar for Narue
0
311
Member Avatar for shre86

hey.. could someone give me some good resources on how to implement and use dialog boxes in windows applications..

Member Avatar for winbatch
0
125
Member Avatar for tundeakins

dear programmer A pharmacy needs to automate drug inventory management system. Every drug has chemical Name, Chemical Composition, date of manufauturing, expiry date, and courtry of origin, quantity, category and others. the pharmacy has a policy to dispose expired drug before use. however, it is not an easy task to …

Member Avatar for Narue
0
156
Member Avatar for shre86

I would like some help regarding multithreading... i want to know what exactly happens when i start a new thread... i.e how it affects the variables etc. in the program... one query i have is what happens if i start 2 threads starting with the same function.. will their running …

Member Avatar for shre86
0
82
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 mina1984

Hi, im lost and i need help writing a function gcd that returns the greatest common divisor of two integers and has to allow five sets of numbers to be input by the user. this is what i have so far where i put /* is where i need help …

Member Avatar for mina1984
0
382
Member Avatar for somer2412

Can someone please help? My assignment is to display a chart using loops, not allowed to hard code any numeric values below the headings. The user is given three options if someone could help me get started with the first chart, I can get the rest. I have included my …

Member Avatar for zyruz
0
138
Member Avatar for bandm

Hello All, I posted this over in the Software Forum, but I realized that maybe it belongs over here. I have both VS 6.0 and VS .Net 2003 available to me. I am just starting to learn programming and wanted to know the difference and which one would be the …

Member Avatar for Narue
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 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 DotNetUser

I'm new to Visual Studio .NET. I thought C#.NET replaces VC++ 6.0 until I saw that C++.NET was still around. So, what's the difference between the two? I want to create a GUI that uses some C++ header/source files and a C++ socket library. Which would I use? I have …

Member Avatar for darklordsatan
0
222
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 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 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