- Upvotes Received
- 4
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
30 Posted Topics
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 … | |
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 … | |
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" … | |
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 … | |
Re: I read C++ for dummies, it was a bit much for a beginner programmer in c++. You can try one of the many online tuts, they are very good! I started out w/ this one: [URL="http://www.cplusplus.com/doc/tutorial/"]http://www.cplusplus.com/doc/tutorial/[/URL] Good luck! | |
Re: You may need to open the RC file in something other than VC++2010, as the RC editor only edits the resources themselves. Open it in notepad or pnotepad. | |
Re: main() IS the entrypoint of the program. Its like saying, "I would like to ride around the block on a bike, but skip getting on the bike". Why is it more than one file? Can you combine all the functions into one file, or just use headers to contain your … | |
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 … | |
Re: [QUOTE=demigodz24;1362984][CODE][/CODE] 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 + … | |
Re: ...what exactly do you want to do? If you want to learn C++, I recommend reading: [URL="http://www.cplusplus.com/doc/tutorial/"]http://www.cplusplus.com/doc/tutorial/[/URL] | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
Re: [QUOTE=peck3277;1180442]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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
Re: Do you want to just write the code? Do you want a compiler? Please read up on some basic C++ to get some clue of what your up against. I will assume that you are using Windows, read up on a compiler called Dev C++. | |
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 … | |
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 … | |
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 … | |
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 … |
The End.