Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #2K
~13.1K People Reached
Favorite Tags
Member Avatar for dylank

Hi, I have asked StackOverflow, compared my code to multiple different online sources, but I still cannot get the page status from the server. The library I am using is Wininet, and the function failing to retrieve the correct data is HttpQueryInfo. I am linking against wininet. Code: [CODE] int …

Member Avatar for dylank
0
317
Member Avatar for dylank

Hey guys; I've been working on a little concept webpage, and it works great in any browser !IE. But, any IE browser will not render the middleAlign DIV's as centered in the web page (like all the other browsers do). Apart from that, and a few other little quirks, it …

Member Avatar for dylank
0
84
Member Avatar for dylank

Hey guys - I'm working on a new website template. It works great, except for a little bug with the Contact panel. It should slide into the screen from the right side into the center, but fails to do so. I believe it is because of the CSS property "display" …

Member Avatar for Airshow
0
81
Member Avatar for dylank

Hey guys, Little problem. I have the feed URL for a Google Docs spreadsheet. I use CURL to perform the request and get the data from the feed, but the only problem is is that I cannot echo that data out to the browser. Here is my code: [CODE]<?php //Set …

Member Avatar for dylank
0
84
Member Avatar for Dha...1

I'm planning to buy a few books for C++. I want to learn C++ at it's deepest. You may say, I want to be C++ program developer. I'm currently having C++ in my study courses too. Which are recommended books? This thread has a huge list of books. Don't think …

Member Avatar for rsravi74
0
151
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
313
Member Avatar for Rickay

I am trying to make a reference program that you can use to access any element of the periodic table based on its name, symbol, atomic number, or atomic mass. It is more than one file, and I need a way to return to main if the user wants to. …

Member Avatar for dylank
0
237
Member Avatar for dylank

Hey guys, quick question: I have been experementing with the _popen() function to get the stdout from programs. I'm trying to wrap it in a function for quick reuse, but the prog crashes every time! Here is the function (as well as the quick test main() function): [CODE] // crt_popen.c …

Member Avatar for NicAx64
0
667
Member Avatar for demigodz24

hi i have a program..i can't explain this code..can you explain this??... int card[ROWS][COLUMNS] = {{rand() % 15 + 1, rand() % 15 + 16, rand() % 15 + 31, rand() % 15 + 46, rand() % 15 + 61}, {rand() % 15 + 1, rand() % 15 + 16, …

Member Avatar for dylank
0
120
Member Avatar for Clandry

Making Change|Programming Assignment 5 Write a complete C++ program to do the following: 1. Read a single input record from the text le transactions.dat containing the initial number of each coin and currency type in a till from which change for purchases in a shop is to be made. Echo …

Member Avatar for dylank
0
219
Member Avatar for dylank

Hey guys; I'm having a little problem here, I have made a mock up website for my High School, but the Javascript that controls tweaking the CSS to display the website at different resolutions. This used to work great, but now I find that the JS only runs correctly after …

Member Avatar for Airshow
0
50
Member Avatar for dylank

Hey DaniWeb! I'm having a small problem with my HTML DIV positioning, and was hoping you could help me. I cannot get my DIV's to float against each other in a column format. They just want to go down on the page, which is not the look I am attempting. …

Member Avatar for dylank
0
97
Member Avatar for dylank

Hey DaniWeb, I'm having a tough time with this piece of code: [CODE]string encrypt(string e) { for( int i=0; e[i] != '\0'; ++i ){ ++e[i]; if(e[i] == "{") { e[i] = "0"; } if(e[i] == ":") { e[i] = "a" } return e; }[/CODE] It should "encrypt" the string, using …

Member Avatar for dylank
0
226
Member Avatar for dylank

Hey Daniweb; Ive scoured the internet for scripts that make a <div> follow the mouse, and have found one that seems to work well. However, I want the <div> to stop moving when the CTRL or the SHIFT key is pressed, I dont care which. Hopefully, I can have a …

Member Avatar for Airshow
0
364
Member Avatar for dylank

Hey DaniWeb community; I am trying to create a web page that pulls its settings from a file called settings.xml, and apply them to the web page. The title is the tag I want to change now, but my code is not working. Here is the code: [CODE=PHP] <?php //Open …

Member Avatar for dylank
0
226
Member Avatar for peck3277

Hey guys, I'm hoping ye can help guide me here as I've reached a point in PHP where I think I can say I'm no-longer a beginner and would like to advance my knowledge. I believe my next step is understanding and using classes in PHP but for the life …

Member Avatar for xaeon
0
141
Member Avatar for dylank

Hey all you guys at DaniWeb! I have tried my hand at what I guess is Ajax, with a PHP script to execute it. The page itself renders and the form works, but the login script is not working. I'm not sure what is wrong, although I'm sure I messed …

Member Avatar for NettSite
0
145
Member Avatar for dylank

Hello DaniWeb! I am having a particular problem with my Javascript page, which should change the form that the user is at. Can anyone proofread my code to check for errors? The code does not change the form (Also it does not run the PHP page, or at least does …

Member Avatar for dylank
0
170
Member Avatar for dylank

Hello DaniWeb Community! I am trying to create a web page that utilizes Ajax and PHP to connect to my mySql database and look up a username and password. You have all most likely seen the web page that has the template code on it: [url]http://www.phpeasystep.com/workshopview.php?id=6[/url] This code is nice …

Member Avatar for mwasif
0
4K
Member Avatar for dylank

Hey guys at DaniWeb! I have spent a lot of time debugging this PHP/AJAX page, and it finally (sort of) works. Index.php can read and write to processLogin.php so I have a page that can log you in without refreshing the page. However, I cant figure out how to set …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for dylank

Hi, I am creating a crackme (or possibly keygenme, if i feel like it) that realys on a IsDebuggerPresent call to see if the user has olly or another debugger open analyzing it. My current code reads as follows: [CODE]#include <windows.h> #include <stdio.h> #include <iostream> #include <ctime> using namespace std; …

0
106
Member Avatar for dylank

Hi, I have a program that I am using to convert a string into binary. My current code is as follows: [CODE]int main(void) { string userInput; cout << "Enter a string to be converted:" << endl; cin >> userInput; for (int index = 0; index <= userInput.length(); index++) { cout …

Member Avatar for dylank
0
156
Member Avatar for dylank

Hi, I was using C++ to try to write objects to the screen, and decided to try this in a lower level language. I have searched the web and found some sample code: [CODE] name "vga" ; this program draws a tiny rectangle in vga mode. org 100h jmp code …

Member Avatar for dylank
0
163
Member Avatar for dylank

Hi, there are several threads on this issue, but none seem to give me a good answer. My current code is this (This program plots points on a graph) : [CODE] //Put line equasion into arrays. #include <iostream> using namespace std; double getData(int counter, double m, double b) { int …

Member Avatar for invisal
0
1K
Member Avatar for dylank

Hi, I have posted in a previous thread about this problem, but this seems not related enough to post in it. My problem is with this code: [code]//This is VERY simple, will just graph a y=mx+b type formula into 2 arrays. #include <iostream> using namespace std; int main() { //Counters …

Member Avatar for Clinton Portis
0
114
Member Avatar for INTIKHAB
Member Avatar for dylank

Hi, I am a begginner programmer that is attempting to create a program that will spit out the (x,y) plots for a graph. Currently, I only need it to give me the x and y data in (x,y) form, so here is my current code. By the way, I am …

Member Avatar for jonsca
1
147
Member Avatar for dylank

Hi, I am trying to read a webpage, namely a PHP page that returns "true" or "false" depending what $_GET (Or is it $_POST?) information is sent. The URL it attempts to read will look like this: [ICODE]www.thesite.com/key.php?key=the_key[/ICODE] and the page will return a true or false. I currently have …

Member Avatar for dylank
0
1K
Member Avatar for dylank

Hi, I was hoping someone could help me with a C++ string problem. I currently have my program open up a file, read the contents into a string, and then I am trying to look for certain key characters in the string, like < and </. In short, I am …

Member Avatar for Clinton Portis
0
347
Member Avatar for dylank

Hi, Im new to DaniWeb and C++ and was hoping some of you more experienced tech fellas could help me out with a problem. I want to open a file, then read it by 5 characters at a time by putting it into a [CODE]char[5][/CODE] type of array, then analyze …

Member Avatar for dylank
0
191