No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
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? | |
Re:
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() { … | |
Re:
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 … | |
Re:
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 … | |
Re:
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 … | |
Re:
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 … | |
Re:
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 … | |
Re:
How to decrease the amount of memory that a process/executable consume? | |
Re:
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, … | |
Re:
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 … | |
hey.. could someone give me some good resources on how to implement and use dialog boxes in windows applications.. | |
Re:
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 … | |
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 … | |
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; … | |
Re:
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 … | |
Re:
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 … | |
Re:
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 … | |
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.. | |
Re:
[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] | |
Re:
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 … | |
Re:
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. | |
Re:
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 … | |
Re:
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 … | |
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.. | |
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 … | |
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???? |