- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 9
- Posts with Upvotes
- 9
- Upvoting Members
- 5
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
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 ) { … |
|
Re:
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-- |
|
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
[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 … |
|
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 … |
|
Re:
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 … |
|
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 … |
|
Re:
[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 … |
|
Re:
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?? |
|
Re:
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 … |
|
Re:
[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]:-| |
|
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 … |
|
Re:
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 … |
|
Re:
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: |
|
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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? |
|
Re:
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 … |
|
Re:
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 |
|
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 … |
|
Re:
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 … |
|
Re:
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. |
|
Re:
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: |
|
Re:
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. … |
|
Re:
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 … |
|
Re:
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 … |