Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~19.5K People Reached
About Me

I might ask you stupid questions, but it's all part of the curve!

Interests
100101101100011010101101010001
PC Specs
XP, Suse
Favorite Forums
Favorite Tags
Member Avatar for gcardonav

Hello guys: I am certain if I was not trying slef-teaching C++, that this question would have been answer before. What is the use of [inlinecode]using namespace std;[/inlinecode] ? I am not certain, I just know that when I use [inlinecode]#include<iostream>[/inlinecode] I have to appended. Simple question, but a matter …

Member Avatar for StanleyLau
0
4K
Member Avatar for Alexkid

Hi there, I was wondering if anyone could help me, I’m trying to send various packets of data over network via UDP. I’m using the sendto() function in winsock2. I’m trying to send different data types over UDP, for example; I have positional data such as: int time; float LAT; …

Member Avatar for mike_2000_17
0
6K
Member Avatar for Alexkid

Hi there, I have an array of unsigned chars SOURCE, i need to combine into DESTINATION, i want to turn: SOURCE[0] = 3 SOURCE[1] = 9 SOURCE[2] = ' ' SOURCE[3] = 0 SOURCE[4] = 4 SOURCE[5] = ' ' SOURCE[6] = 7 SOURCE[7] = d into DESTINATION[0] = 39 …

Member Avatar for deceptikon
0
4K
Member Avatar for Alexkid

Hi there I need help writing a data structure to hold and assign data to a particular unique ID. I think I want an vector of structures: struct Data { int ID; double latitude; double longitude; int speed; int altitude; }; I receive messages in the above format, they can …

Member Avatar for Gonbe
0
264
Member Avatar for Alexkid

Hi there, I have an array of unsigned chars that hold hex values, I’m interested in values [5] and [6] of the array. Say [5] = 0x5b = 0101 1011 and [6] = 0x7b = 0111 1011 I'm trying to get all of [5] and the first half of [6], …

Member Avatar for L7Sqr
0
191
Member Avatar for Alexkid

Hi There, I need to re-write any mention of .tellg() in my code as the function is not supported on the desired hardware. I have the following lines of code: getline(file,line); { std::istringstream stream(line); stream >> first >> second >> third >> forth; UINT32 file_pos = stream.tellg(); file_pos++; fifth = …

Member Avatar for vijayan121
0
725
Member Avatar for Alexkid

Hi there, I’m fairly new a c++ and am having trouble figuring out how to use a returned function variable. Here’s my code #include "stdafx.h" #include <stdlib.h> #include <iostream> #include <fstream> #include <sstream> #include <string> #include <vector> #include <algorithm> #include <iterator> using namespace std; std::string OMPS (char const* path) { …

Member Avatar for phorce
0
293
Member Avatar for Alexkid

Hi there I have a question about pointers, i have a functions that takes a path to a txt file, extracts whats in it into an array and returns the array. As i understand it you can't actually pass the array, you have to return the pointer to the array …

Member Avatar for Alexkid
0
254
Member Avatar for Alexkid

Hi There, I have a datagrid table with 5 columns and as many rows as the user enters. Is there a simple way to export the contents of the table to a CSV file? The columns are named; a,b,c,d and e Im using VB 2005. Mant Thanks Alex

Member Avatar for Surendrasinh
0
962
Member Avatar for Alexkid

Hi there, I think im trying to do something pretty simple but i can't find a simple explanation. What i have: I have five Textboxs (1 to 5) I have a Button I have a Datagrid with five columns (1 to 5) What i want to do: on a button …

Member Avatar for Alexkid
0
171
Member Avatar for Alexkid

Hi, Simple question but why would someone use #define. Whats the difference between; #define sum 1 and const int sum = 1; both can't be changed and anywhere you sum its going to be 1!. Many thanks Alex

Member Avatar for Alexkid
1
114
Member Avatar for Alexkid

Hi there, ok, im fairly new to c++ and have been trying to figure this out for ages: I have a text file i want to read in that contains lines and lines of lat long points; N50 42.22 W002 55.33 N50 42.22 W002 55.33 N50 42.22 W002 55.33 i …

Member Avatar for Ancient Dragon
0
194
Member Avatar for Alexkid

Hi there, Can anyone tell me how to change my win32 programs icon (top left). I'm running MSV C++ Express 2010, so i don't have MFC. Theres a few tutorials on how to do this but using resource files? Which apparently MSV doesn't support. I want to be able to …

Member Avatar for Alexkid
0
314
Member Avatar for manny c++

:cool: Hi all I have fingered out how to check the users input for their first and last name This works fine. If the user enters a number for their name they resave an error message. But it only works for the first letter How do I increment the check …

Member Avatar for Alexkid
0
421
Member Avatar for Alexkid

Hi there, Can anyone tell me why variables can have printed values of -858993460. I've got a pointer pointing to a memory address which has nothing in it so when i come to cout this it prints -858993460, if i give it a value then its prints that value. I …

Member Avatar for Alexkid
0
2K