Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
9
Posts with Upvotes
9
Upvoting Members
5
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #2K
~15.3K People Reached
Favorite Forums
Favorite Tags
c++ x 33
c x 23
Member Avatar for Eddy Dean

Hello, I've had some problems converting a string into a char. I've tried many, many things, but it didn't seem to work. I'll post the code below: [code] char filename[1024]; char* url; string sUrl; HINTERNET hINet, hFile; hINet = InternetOpen("InetURL/1.0", INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0 ); if ( !hINet ) { …

Member Avatar for Salem
0
2K
Member Avatar for wingwarp

ok ihave looked through google and cprograming.com and cant find much to do with opning documents like... i am trying to do... run the c++ program select a number and open an html document ... ... yes i know basic html... thanks... --wingwarp--

Member Avatar for VernonDozier
0
307
Member Avatar for Eddy Dean

Hello, I want to be able to read the memory of a process in Linux. After some googling I've read that ptrace can be used to this. The syntax of ptrace is as follows: [code]int ptrace(int request, pid_t pid, int addr, int data);[/code] The first value (int request) is what …

Member Avatar for ~s.o.s~
0
228
Member Avatar for Haktivex

Hello folks :) Allow me to introduce myself. I am Haktivex, a programmer for a tool known as TibiCAM, used to record movies for an online game known as Tibia. Now heres the issue. For a long time we supported all operating systems, Windows 98, ME, etc. However recently these …

Member Avatar for Haktivex
1
187
Member Avatar for whitemoss

Hi all, I'd posted this problem previously but in the wrong place..:)..Hopefully, I can get the answer from this thread. I'm a newbie in C..Right now, I have to write a code to read a text file and then insert all the info inside that text file into database. Should …

Member Avatar for whitemoss
0
482
Member Avatar for brianotieno

[code]# include <iostream> # include <stdio.h> # include <conio.h> # include <dos.h> # include <string.h> # include <math.h> # define TRUE 1 # define FALSE 0 //if you can change to a class it can be better and faster struct member { int mid; char mainname_1[20],madd[30]; struct Read_Struct { int …

Member Avatar for Dave Sinkula
0
331
Member Avatar for Eddy Dean

Hello everyone, I am trying to get an XTEA algorithm to work. I read the key from another process of which I'm sure it has a valid key at a specific location in memory. My encryption algorithm seemed to work, but when I tested it by making a buffer, encrypting …

Member Avatar for Eddy Dean
0
1K
Member Avatar for hay_man

Hi, Hope you can help. The following is essentially a small problem of an overall project, i have been trying to work out how to divide an inputted string, into say blocks of 4 characters and then output these separate blocks on the screen. e.g. 1234567891234567 ----> 1234 5678 9123 …

Member Avatar for Ancient Dragon
0
223
Member Avatar for grunge man
Re: ????

ok im getting angry because if i wana keep asking questions then i was told to get a book and read it but thats the problem the reason why i came to this website is besause i foud it verry usefull amd i cant bye a book and eaven if …

Member Avatar for Bench
0
285
Member Avatar for comp_sci11

[code] #include<alloc.h> #include<stdio.h> #include<string.h> #include<conio.h> #include<dos.h> #include<ctype.h> typedef struct node { int dd,mm,yy; int cus_ac_no[15]; char cus_name[25],cus_add[45],cus_ph_no[17]; double cus_bal; float cus_intrst; struct node *next; }node; node *L,*ptr; void add() { node *p,*q,*new; p=q=L; clrscr(); new=(node*)malloc(sizeof(node)); if(new==NULL) { printf("list is full"); getch(); return; } else { printf(" Enter customer account number …

Member Avatar for Salem
0
266
Member Avatar for himanjim

sizeof(3.14) GIVES 8 AS THE OUTPUT. Where sizeof(3.0f) gives 4 as output. Is it because default datatype alloted to 3.14 is double and attaching f changes it to float??

Member Avatar for Rashakil Fol
0
97
Member Avatar for sdybc

SO i got this program date_struct.c going and it looks like everything works except the printout part. When input 2 dates to get the numbers of days between them nothing happens, the program ends. This also happens when i try inputting a date and an integer, and returns a new …

Member Avatar for WaltP
0
115
Member Avatar for ammu117

[B][COLOR=red]I use Turbo c as my compiler. now am not able to use mouse.i can access the menu only by using key board. how can i change this ? i wanna use mouse.. am a beginner..so plz do help me[/COLOR]..[/B]:-|

Member Avatar for ammu117
0
89
Member Avatar for Eddy Dean

Hello everyone, I am trying to create a "proxy" for a program. I will try to explain how I am going to do that. The program I want to write a proxy for sends and receives data to/from a server. The IP and port the client connects to is somewhere …

Member Avatar for Eddy Dean
0
1K
Member Avatar for sgriffiths

Hello i have a a struct which contains the below 1 10 11 2 3 But i need this to be in numeric order, ie 1 2 3 10 11 below is my code [code] do { fprintf(fReport, "List Name = %d\n", LIST[t].name ); t++; } while( t != k …

Member Avatar for dwks
0
137
Member Avatar for jaininaveen

hi everyone,:cool: I like to work on accessing internet(that means get a web site content) with my c code. so plz tell me a possible way to send reqest to a perticular web site and get the information....:rolleyes:

Member Avatar for jaininaveen
0
150
Member Avatar for Eddy Dean

Hello everyone, I downloaded the source of an internet file and need to filter a specific part of it. I know how the [inlinecode]string::size_type position = Line.find("World:</TD><TD>");[/inlinecode] function works, but this only tells me where the data I am looking for is located (the data is after "World:</TD><TD>"). I want …

Member Avatar for Eddy Dean
0
109
Member Avatar for MitchellH

Hi, I have been using the windows API for some time now and feel quite comfortable with it. I know for larger projects MFC is a better choice over the raw API. I've been google searching for some good tutorials on MFC but haven't really found any good ones like …

Member Avatar for Eddy Dean
0
81
Member Avatar for portege

I've been teaching myself C++ for the last two weeks. One of the things that was difficult for me to find on google was using the left click on a certain coordinate on the screen. The goal is to eventually be able to recognize images on the screen and alter …

Member Avatar for Dave Sinkula
0
4K
Member Avatar for L33VaNcL33F

Hello everybody, I'm totally newbie with c++ language. I'm using Visual C++ 2005 Express Edition. I like to make a working GUI with my first c++ code. My question is: How to insert this code to Windows Forms (GUI) that contain: 1. Press "Button" to randomly generate the number from …

Member Avatar for mostafadotnet
0
2K
Member Avatar for rapt0r

In a c++ tutorial this was one way to define a string [CODE] #include <string> using namespace std; string name; name="mark"; [/CODE] But it dosent work i get errors.Why is this?

Member Avatar for ~s.o.s~
0
191
Member Avatar for geek

Hello all, I've been programming in c++ for about 2 years now, but all my c++ applications are console driven. I would like to start using GUI's but in c++ it takes a lot of effort to build a GUI application (using API's), now my question; what programming language do …

Member Avatar for Eddy Dean
0
128
Member Avatar for ishwar

Hi guys, and girls, I 'm trying to create a program in c++ using winsock to see what happens when internet explorer sends a http request to [URL="http://localhost:80"]http://localhost:80[/URL] any tips? Thanx Ishwar

Member Avatar for Dave Sinkula
0
129
Member Avatar for Eddy Dean

Hello everyone, I 've been looking for a solution for this problem for some time now but I don't seem to figure it out. I want to download the source of a web page (the HTML source). I found several API function that have to do something with internet and …

Member Avatar for ~s.o.s~
0
913
Member Avatar for trevs234

im new to C++.... sorta. i tried to use it a while ago but i couldn't figure out how to do anything and so now im going to try it again. if anyone could be of assistance that would be awsome. oh yeah, and im pretty much broke so i …

Member Avatar for justobioma
0
196
Member Avatar for jamshid

I know PASCAL programming language; Know i can't decide to learn which programming language.... I don't know if i start C or C++ or C#... or others.. [B]I hope you will guide me in this way[/B], so thanks for replying and guiding me.

Member Avatar for jamshid
0
177
Member Avatar for Joncamp

I can't buy a c++ reference, and need one for programming in Linux. Does anyone know of a good reference free on the Web? Thanx, Jon:cheesy:

Member Avatar for ~s.o.s~
0
139
Member Avatar for schmidty169

I'm getting error C2109: subscript requires array or pointer type [code]// CPP btree.cpp : Defines the entry point for the console application. // #include "stdafx.h" class TreeNode { public: TreeNode(string str): data(str), left(NULL), right(NULL) {} // Constructor. Make a node containing str. string data; // The data in this node. …

Member Avatar for schmidty169
0
161
Member Avatar for tefflox

this is all that is given: [code] char word[10]; addS("fasten", word); cout << endl << word << endl; // will output fastens [/code] for a program that must make a word plural (add an s) here is my code, which compiles but gives a peculiar "segmentation fault" that I haven't …

Member Avatar for Eddy Dean
0
142
Member Avatar for CrazyDieter

Hie, I'm trying to get a code in a DLL runned each time a program is launched. 1) I have put this value in the registery key : [code] HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Windows="D:\myDLL.dll" [/code] 2) [code] BOOL APIENTRY DllMain (HINSTANCE hInst /* Library instance handle. */ , DWORD reason /* Reason this …

Member Avatar for Eddy Dean
0
655