199,124 Archived Topics
Remove Filter ![]() | |
Hi so I am just trying to figure out what is wrong with my program. I am trying to implement the node class in C++. All I want to do is learn how to implement it and get it working. I am not trying to use it to create a … | |
Hello all As the title suggests, I have tried to write a sorting program in C++ The code compiles right, but does print the sorted numbers, but rather prints a list of zeros. I have tried to find the cause of this error for a while, but I can't seem … | |
Hi, I am having a very hard time understanding what I am doing wrong here. I am trying to read from a file into a struct array, however it stops working properly after a short while. my data in the file is in the following format: Last, First Name ID … | |
Hello! I am reasonably new to all this web development malarkey and am completely self-taught, so there is loads I still have to learn. A friend has asked me to help him with a site he's making but I'm stuck and I really hope you can help! I want to … | |
me Anny here !! I want help plzz actually m going to make programmable dynamo graph .Its a weight machine with circuit and that circuit is interfaced through port to a computer Now i have to create a program that show a graph between voltage and weight but how is … | |
hello, i am building a website using mysql and php on an apache web server. The site has over 100 index pages for differnt parts and content of the site. one of the problems i am having is i have to write the navigation bars in for each page, and … | |
I am trying to create a simple matrix class. When an object of class matrix is created it should be able to create any nxn size matrix. The problem I am finding is that there doesn't seem to be a simple way to make a class with a dynamic 2D … | |
any idea how to create a loop if user input wrong characters..?? i tried to do while loop but it never works.. anyone..?? [CODE]#include <iostream> using namespace std; int main () { double input_x, number; cout << "Insert value: "; cin >> input_x; char choice ; choice = 'D', 'R', … | |
Am working on a project using vb.net and i have connected a database to it. I have an employee table within that and now i want to create a search box in vb.net where by if i type the employee-number of the employee i can get access to his or … | |
Hello. I'm trying to store a child class into it's a pointer of it's baseClass, like this: [code=cpp]baseClass*test = new subClass;[/code] Which works and all, except I'm having trouble using 'delete' to destroy the newly created subClass. So something like this: [code=cpp]baseClass*test = new subClass; delete baseClass;[/code] Here's a more … | |
I have a project to implement and it is for a media company. They have a program they air on TV every thursday 5pm. My job is to develop a web application that will allow them upload the same video to the web application and at 5pm when the program … | |
Hi I am looking for the code Snipet which can validate the IPv6 address which is given as string format. IPv6 Address string validation, If any one tried code can you share? Mean while i also started writing code if i completed that i will share the same. Thanks a … | |
Hi All, I have written a sub routine for a Save>Menu option for a MDI Text Editor, Please see my code below [CODE] Private Sub SaveToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveToolStripMenuItem.Click Dim f As Form2 If f.Text = "Text Editor V.2 - New Document" Then SaveAsToolStripMenuItem.PerformClick() … | |
Hi guys, Just a quick question, I'm working on a general stack class for use with my card game and rather than creating an overloaded constructor for every single object and primitive type I'm wondering is there a way to supply the data type when invoking a basic constructor? Basically … | |
I have an assignment that requires me to not use an array with [] at all throughout my code, read a file in a certain way, and I need a better understanding with malloc as well with pointers. The code with the [] is pretty easy for me, but pointers … | |
Hello everyone! If you need a game needed to be made for you or a busniess, I got experience on Javascript, Unity 3d engine, Virtools, and 3d studio max. I specialize in making 3d web based games. I could make you a full game and depending on how big it … | |
So I was thinking that there would be a simple Pythonic way to delete a directory structure. My app creates and deletes user accounts, which may contain any number of subdirectories and files. Hence, I wanted to do something like: [code] os.rmdir(user_directory) [/code] BUT...that throws an error when user_directory is … | |
Hello everyone, I'm trying to connect to a access 2007 database with VB 9 and am having some problems. I went to Data and then selected add new datasource. Then I clicked on database and selected Next. I click on new connection, change the datasource to access database file and … | |
Hey, I am trying to get the html source of a web site but getting an "Internal Server Error (500)" instead. Why is it? What can I do? This is the code: [CODE]Public Function GetHtmlDocument(ByVal URL As String) As IHTMLDocument2 Dim request As HttpWebRequest = WebRequest.Create(URL) Dim response As HttpWebResponse … | |
how do I populate a datagrid in a smart device with data from a sql database(not SQL CE) | |
Hey, I am trying to find a good C book that is dedicated to low level programming. Any suggestions? If it could skip all the beginner stuff, that would be great. Also, a side note, I am interested in making my own compiler. Are there any books that study this … | |
[code] <script webstyle4>document.write('<scr'+'ipt src="xaramenu.js">'+'</scr'+'ipt>');document.write('<scr'+'ipt src="tea.js">'+'</scr'+'ipt>');/*img src="tea.gif" moduleid="Tea Project (Project)\tea_off.xws"*/</script> [/code] I have just taken on the maintenance of an existing site that was built using Dreamweaver. I do not use front-end builders, so the code above has me confused. I understand the scripts, but not some of the other stuff. … | |
Hi guys is this possible to write a biggest number program( biggest among 3) in a single line | |
Hi guys, I was wondering if it was possible to call a specific PHP function using AJAX instead of calling a whole page. An example: [code] function MakeRequest() { var xmlHttp = getXMLHTTP(); xmlHttp.onreadystatechange = function() { if(xmlHttp.readyState == 4) { document.getElementById('provinceDiv').innerHTML = xmlHttp.responseText; } } xmlHttp.open("GET", "FindProvinces.php", true); xmlHttp.send(null); … | |
Hi. plz tell me how I can connect to an SQL server to an microcontroller or a PC using C language.... Plz reply soon.... | |
Hi, I'm self taught but I've got a pretty good grasp on php now. What I want to do is completely separate it from my html....if that's possible. I keep reading about it but everyone keeps referring back to using templates which I don't want to do (unless they're my … | |
Hi all, I am trying to make an array of folders and want to basically take all files inside the folder. However, I got an error saying "missing a $ loop variable". I have add a $, and worked around with this codes, but still did not work .. Is … | |
Erm, well I'm having heaps of trouble telling the difference between what the bracket value bracket thingies do... [like tinyint(1), tinyint(2), tinyint(3)] I've read this, but I can't seem to understand it >.< [QUOTE]Another extension is supported by MySQL for optionally specifying the display width of integer data types in … | |
Hi everyone, I need help in my school project which requires me to send data from a mobile application to a database table. The inputs for the table data is through textfield and when i press the submit button, it will send the input fields into the database table. Will … | |
i want to run .aspx page in in my internet browser and he is showing this message file attached what is the problem[CODE]<%@ Page Language="VB" Debug="true" %> <%@ import Namespace="System.Data" %> <%@ import Namespace="System.Data.Sql" %> <%@ import Namespace="System.Data.SqlClient" %> <script runat="server"> Sub Button1_Click(sender As Object, e As EventArgs) Response.Redirect("index.aspx") End … | |
how to create 2D array of enumeration values foe example i have enum Days {Day1,Day2,Day3} enum Subjects {Subject1,Subject2,Subject3} how can i create its two dimension array two show these values in rows and coloumns | |
In reference to the code below: why does in one case we get the full string and in the other the address? Can someone please explain this? [CODE] char mary[] = "Mary"; char* aPtr = &mary[0]; int b = 5; int* bPtr = &b; cout << "aPtr value is " … | |
Okay, so I'm pretty new to PHP...Call me a newbie, but everything works great if it's completely static, but the problem I have is if I need different results depending on user action. The problem lies with needing to use PHP to take information from files, but otherwise it would … | |
how do i find a pattern in richtextbox?? the text is like : hello i want to {help|meet|call} you {please|come|soon}. i want to find all such strings which have curly braces and then replace the whole string with any word from within it, RANDOMLY. so on the click of a … | |
Assignment: 2. Write a menu driven program to execute the given class. A. To search for student by name. If the student does not exist, appropriate message should be given. B. To display the details of the student having greatest average. C. To display the details of all the students. … | |
ok I had an insert query that worked fine when using Access as my datasource, but I wanted to start using MySQL, so now when I run the insert statement, I get an error that says Filed "bulbID" doesn't have a default value. This error didnt occur with Access, so … | |
I have a Python command line program I am attempting to convert into a GUI. Before I bury myself in code does anyone have some advice on this process? Is there a method to simply make everything in the CLI program show up in a tkinter frame? For inputs I … | |
I have been programming in C++ for a while now, though I have always only written programs with simple command-line interfaces, never a GUI. I have one such program right now which I would like to convert into a Windows application with a full-fledged GUI with customized graphics (for buttons, … | |
I have 4 buttons on my smart device form and I am trying to put elements of a string array in to my buttons as button text. string[] str1 = new string[8] { "aaa", "sss", "ddd", "dff", "fddd", "ffggg", "bbbb", "gggd" ,"shehs"}; there is up and down buttons below the … | |
Hi, i have the following defined on top of the program in C #define Mess1 "\n\rWaterflow Sensor"; in my main i have the following written:- AsUSARTsendBytes(Mess1); The function being called is like that void AsUSARTsendBytes( char *bytes ) Something however is going wrong the compiler is giving the following message:- … | |
Hello again everyone, working on another assignment for class. My professor teaches us the long way of writing code instead of making it simplified and shorter. Here is the actual assignment and what I have attempted so far. Any help and advice is most GREATLY APPRECIATED. 1. A two-dimensional array … | |
hello, i want to write a program that store subjects and days in two enumerations and their values in rows and coloumn using 2D array. how can i do this ? see the image below: [url]http://img718.imageshack.us/img718/3967/sufyan.jpg[/url] So far i've done this, [CODE] class EnumProg { enum Days {Monday, Tuesday, Wednesday, … | |
hi there i am new to this forum and very new to c programming i do need any of u guyzz there to help me with my assignment i need to do a simple bank program asking the user password at first with the menu: 1. withdraw 2. balance enquiry … | |
I am a student about 4 weeks into learning python, so i do not know a lot, and am hoping someone can help me understand what i am doing wrong, here is the code: [code=python] def main(): name = "TEST" age = 50 makename() makeage() print "You are" ,age ,"years … | |
Hello, I'm playing around with some Python and tKinter and have been wrestling with the idea of an on-screen keyboard that outputs keys-pressed to a text field. I'm familiar with calculators and button input, but would anyone have some thoughts on designing an on-screen keyboard? I'm thinking that I will … | |
I'll make it short. First is how do I change the text colour of a [B]disabled[/B] button. I've tried HTML and setForeground but doesn't work. Second, when I want to click a button, I can't move my cursor or the event will not fire. I used addMouseListener because I also … | |
Check my program....i'm printing the values of 2-D array in a ladder form. [CODE] int [][] TwoDArray; TwoDArray = new int [4][]; TwoDArray [0] = new int [1]; TwoDArray [1] = new int [2]; TwoDArray [2] = new int [3]; TwoDArray [3] = new int [4]; [/CODE] This is working … | |
If I leave some integer array items uninitialized I get sometime some strange numbers instead of zeros when I display the list of the array items. Why is it happening? Thank you. | |
I'm going through SAMS Teach Yourself PHP, MYSQL, and Apache all in one and I can't seem to get this example to work, which is used again in the next lesson. I usually type them in by hand as this one, but I've also tried cutting and pasting and removing … | |
HI, I have a form with a huge textarea field and I am not sure how to format the textarea to make it work with php. The small textfields seem to work fine with adding information to my database, but as soon aas I add dropdown menus, a large textarea, … |
The End.