- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
25 Posted Topics
Hi All, I would like to start distributing a couple of apps, but when they are installed, the user will get a popup telling them to be careful of malware, and that I'm not a verified publisher. Does anyone know how I get verified? | |
Hi All, I'm trying to figure out how to load images from a resource file into a picture box using a visual studio windows forms application in c++. I figured out two different ways to do this in c# by going through the forums, but I cannot figure it out … | |
Hi All, I'm building a C# game that will handle drag and drop of images and labels in a visual studio form, but when I drag around a component, the form takes big performance hit. For example, I have some images moving around on the form (pictureboxes) and these stop … | |
Hi All, I'm developing some simple C++ windows forms application games using visual studio.net 2008, and am looking for some ways to distribute the game to paying customers. I'm starting with Intel's appup distribution, but that's only just starting to take off. Any suggestions? | |
Re: I like to use readlines to get the data. Some other useful commands include stip and append. Here is some ugly code to demonstrate these: [CODE] batch_data = FileHandle.readlines() FileHandle.close() for line in batch_data: SplitArray = ["0"] #remove endlines from the lines CleanLine = line.strip("\n") #remove white space from lines … | |
Re: You're so close! The problem is that the function is in the middle of two loops, and is being executed too many times. Watch what happens when you first fill the array with canvas, then run the function only 76 times, then plot the function: [CODE] const double pi = … | |
Re: Hmm, the divide array function is never called from main. It also return a value even though it is declared as Void. There are other issues causing the program to not compile, like a comma with nothing after it. I suggest you go through remove code (or comment it out) … | |
Re: Do you have a webspace that allows server side code to be run? If you want to write your own game from scratch, I suggest you learn one of the following languages: php, CGI, or ASP. You can then write an app that runs on the web server, and just … | |
Re: I remember Dijkstra’s Algorithm from my layout class. Good times. I think I would change the architecture so that you use a linked list to store connections between nodes. A less elegant approach might be to store a list of connections in an array. When the connection has been checked, … | |
Re: Hmm, it worked fine for me. Are you running from a command window or standalone? I added a pause at the end so that the standalone console app would not disappear after displaying the output. [CODE] system("pause"); [/CODE] | |
Re: [QUOTE=Nagalakshmi J M;1200503]how to convert integer value to ascii[/QUOTE] This link shows two ways: [url]http://bytes.com/topic/c/answers/62976-converting-int-back-ascii-character[/url] | |
Re: Your equations just a little off. First you should convert the angle from radian to degree, then apply the equation given. Good luck with the Physics, I loved that class. [CODE] radianAngle = degAngle * PI / 180; A = g*sin(radianAngle); [/CODE] | |
Re: You can use visual studio to create a C++ form applilcation (window) rather than a console application. I'm not sure what free applications are available. | |
Re: Hey, a new programmer, welcome! I remember playing with code for the first time, and wondering why it would not compile :) Make sure that you include a semicolon after the cout and cin lines. You should also declare userresponse as a string before you use it: [CODE] char userresponse; … | |
Re: Run it from a separate thread: [url]http://www.windows-tech.info/13/f409f3d2f683d169.php[/url] | |
Re: I would start the debug by checking to see if you can populate the combobox manually. [CODE]cmbCustomer.Items.Add("Hello"); [/CODE] If that works, move on to store the contents of the database into a variable to see if the database if returning data properly. | |
Re: Why don't you try using filestream. I pulled this code off a tutorial site, and changed it to append: [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; namespace write_file { public partial class Form1 : Form { public Form1() … | |
Re: I like dev c++ for making console applications. Console applications are the best way to start learning. Once you have a solid understanding of C++, visual studio is a great program to use to build forms and games. [url]http://download.cnet.com/Dev-C/3000-2069_4-12686.html[/url] | |
Hi all, I'm trying to capture an event when tab is pressed in a textbox using visual studio.net, and am having a hard time. I can capture anything else, inluding the keys that are difficult like instert, alt, and the arrow keys. Here is the MSDN page that did not … | |
Re: Have you used string compare? It seems like when you do the string compare, it will return a positive value if the first comes first, and a negative value if the second comes first. [QUOTE=Trents;1183755]Okay, so I am EXTREMELY new to programming and my teacher is not exactly a great … | |
Re: I suggest you look into Neural Networks. I took a class on that and it was really interesting. This is learning code. You can look it up on wikipedia. [QUOTE=mehran.s.h;1186816]Hi everybody. How can I write a program with C++ that finds pattern. For example if we give the program 3 … | |
| |
Re: Here is a version that compiles. I'll let you play around with the logic some more now. I normally compile after each ten lines of code so that I don't have to track down more than one or two issues. Good luck. [CODE] #include <iostream> #include <stdio.h> #include <cstdlib> #include … | |
Hi, I'm trying to loop through multiple textboxes in a C++ form using visual studio.net 2008 to set the selection start for each. The code for a single textbox is easy: [CODE] textBox1->SelectionStart = 4; [/CODE] When I try to assign textBox1 to a Control variable, and assign selection start, … |
The End.