199,112 Archived Topics
Remove Filter ![]() | |
Pls. enumerate the steps in using a Status Bar Control wherein, Date, Time, Capslock will be displayed in every panel. Thank you very much for your help. | |
Sorry about the title of the thread, I was looking at the wrong problem. For our class, we're supposed to get a sentence from a user and output the number of three letter words entered. Here's what I have so far: [CODE]#include <iostream> #include <string> using namespace std; void main() … | |
I'm really having trouble spotting where my seg fault might be and I know a fresh set of eyes will help. Basically [code]start_ptr[/code] is the head pointer and [code]start[/code] is initialized to 0 and [code]end[/code] is initialized to the number of nodes in the list. here's the code [code] node … | |
Not necessarily hard I just have a hard time where to exactly inherit the , I have a bass class and 2 separate classes which inherit the base class Lets class base class - Class A Other two classes - Class B and Class C Class A has the following … | |
I have been posting a bit about my current side project, a scripting language interpreter. I have gotten past my getline error I talked about in a previous post and am now trying to get the results from the script. I created a map of all the labels in the … | |
hi Ive been working on a program that finds hidden files copies the contents and then deletes the hidden file so far ive got system("set OLDDIR=%CD%&&@ECHO OFF&&ECHO Finding Hidden Files&&dir /ah&&PAUSE"); printf("Please Choose The Files You Want To repair separated by spaces\n"); scanf("%c",&d1); getchar(); string cmd="echo"+d1; system(cmd.c_str()); but im having … | |
[code] #include <stdio.h> #include <conio.h> void *memset(void *dest,int value,int cnt); void *memset(void *dest,int val,int cnt) { void *start=dest; while(cnt--) { *((char *)dest)++=(char)val; } return start; } int main() { char arr[]={1,2,3,4}; memset(arr,0,4); printf("%s",arr); _getch(); return 0; } [/code] error : ++ need lvalue I know how to resolve this,but I … | |
Hello everyone! I am developing a php web application and I was searching on how to deploy it. I heard about nusphere..But it is a trial version..Can anyone give me some suggestions or tutorials on how to deploy a php application? Thanks, Chupi :) | |
So, hi, this is my first post here. I can't find a good source for my problem here. My problem: Creating a linked node using classes. I managed to create a list of linked nodes but the problem was that I forgot to delete the nodes I created so now … | |
I have entry dates of my records in format yyyy-mm-dd. I have 2 drop down menus, one for Year, and one for Month to select. I have no idea how to return results without using the complete date. If I use a text box and enter the exact date (Y,m,d) … | |
The following is a function that compiles just fine, but when I run it, I get a "Debug Assertion Failed" and it says "list iterator not dereferencable". As far as I can tell the error occurs at whileIter++. I've looked at examples of iterators and how they are used, and … | |
i just finished making my custom renderers after a while i noticed a small problem and isolated the problem to onrendertoolstripborder it seems when i paint my border around my tool strip it also paints it to any open dropdown menus here is an image to show what i mean … | |
My teacher wrote this code. i am having trouble understanding what is going on in the code. can someone please help me by commenting in the program if you can tell me the importance of the functions and how everything works. please help me.... i'm a noob programmer #include <iostream> … | |
Hi All, I'm trying to find a way to display a table to the user using mySQL DB. [better then the DataGrid View] The table should have options to merge cells for related items and to embed buttons in the cells. Thanks for your help. | |
Ok, this is not going to be a hugely helpful post because I am completely new to any form of programming and so don't know anything really. I am not sure if the application is in C# or vb.net so I have posted in both forums. Essentially I have a … | |
Hello everyone! I have a problem . How to maintenance the file's last modified time when upload it to FTP server? Please help me.Thank you~ | |
I have searched the world over for answers to my dilemma and have learned a lot, but not what I need to know. My programmer compiled our website and pushed it to the server and sent me the source code. I cannot get the source to compile. I have a … | |
Hi all, I am tying to test the code from the following url [url]http://www.obviex.com/Samples/Encryption.aspx[/url] The following Decrypt code has some issues. It does not give any errors, but the plaintext is not returned either. The corresponding Encrypt code is working fine. [CODE] public static string Decrypt(string cipherText, string passPhrase, string … | |
I'm writing some code for my robot's stereoscopic vision. This is how I'm calculating the stereo vision in python (I'm using the roborealm API). [CODE=python]COGXR = rr.GetVariable("COG_X_RIGHT") COGYR = rr.GetVariable("COG_Y_RIGHT") COGXL = rr.GetVariable("COG_X_LEFT") COGYL = rr.GetVariable("COG_Y_LEFT") Z_Actual = (11 * 5.5)/COGXL-COGXR X_Actual = (COGXL*Z_Actual)/(5.5) Y_Actual = (COGYL*Z_Actual)/(5.5)[/CODE] Whenever I run … | |
[CODE]echo "<param name='FlashVars' value='mp3=Slipknot-Duality.mp3&bgcolor1=$rgb\&showinfo=1&autoplay=0&showstop=1&showvolume=1'>";[/CODE] I am having a problem getting my bgcolor1=$rgb to be evaluated I know that $rgb has a value in it because i am using print_r($GET) and it is evaluated as the correct value how do i get the variable to pass as a paramater in the … | |
i wonder how to initialise some value in the linklist ,before insert the new node value? [CODE] #include <iostream> #include <conio.h> using namespace std; struct employeeInfo { string name; int id; string department; employeeInfo *next; }; const int SIZE = 10; employeeInfo employed[SIZE] = {{"Michael bay",1234,"Design"},{"Enrique",5678,"Production"},{"Fernando ",9012,"Management"}}; class List { … | |
I just switched webhosting companies and I'm having a major problem now, I keep getting errors that I wasn't getting before. Mainly, these right here: [code] Notice: Undefined index: username in D:\hshome\c274056\test.yourroommatefinder.com\register\signup.php on line 12 [/code] Here's line 12: [code] $username = mysqli_real_escape_string($dbc, trim($_POST['username'])); [/code] Tried this too: [code] $username … | |
when using the data_files option in my setup.py #!/usr/bin/env python import ctypes from OpenGL.platform import win32 from distutils.core import setup import py2exe import sys sys.path.append("dist") setup(options = {"py2exe": {"compressed": 1, "optimize": 2, "includes": ["ctypes","Tkinter","Numeric"], "excludes": ["OpenGL"] }}, zipfile = None, data_files=['msvcr71.dll', glut32.dll'], windows=['myprogram.py'] ) I get an error saying msvcr71.dll … | |
I am trying to declare dimensions like this but this example does not compile. I think the declarations might be something wrong with but cant figure it out what it can be: [code] class Dime1 : List<String> { }; class Dime2 : List<Dime1> { }; Dime2 Dim3 = new Dime2(); … | |
I'm a newb in Java. how do I make the loop stop when the user enters 0. Is the codes right so far? I can't seem to run it, theres 1 error saying (no source location) The output is suppose to look like this: 1. show total in bank. 2. … | |
Hi, I'm new to VB :sweat: Basically what I am trying to achieve is a browse button where the user is required to find a location for the file that my program will be creating. I'll give an example. |TextBox1| (Button4) When button4 is clicked it will open up a … | |
I get the warning control reaches end of non-void function and I'm not seeing what causes it. [code=cplusplus] double ExprTree::evaluate(TNode* p) const { if(p->data == "+" || p->data == "-" || p->data == "*" || p->data == "/") { double op1 = evaluate(p->left); double op2 = evaluate(p->right); if(p->data == "+") … | |
Hello, I am training as a future software developper, so maybe my problem can be solved differently, but for education the following problem is the problem (and not some code with a specific aim). Have have an application (a Mastermind clone) in Windows Forms mode. Everything is inside of different … | |
hello friends.. [code=php] <?while($row=(mysql_fetch_array(result)) {?> <tr> <td><?echo $row['photo']?></td> <td><?echo $row['info']?></td> </tr> <?}?>[/code] above code i use for fetching data.. one result in one row at a time..!!! now i m try to show two result in one row..!!! in other words.. two different data in one row..!!! how can i … | |
[code=c++] // #include <iostream> using namespace std; int main() { int age; int weight; int height; cout << "Enter your age." <<endl; cin >> age; cout << "Enter your weight (in inches)." <<endl; cin >> weight; cout << "Enter your weight (in pounds)." <<endl; cin >> height; if ((age >= … | |
Hi all, i hope anyone of you can help me on the following matter: I have two tables: Recordingid Connection Sequenceno 1233036621 1 3 1233036621 1 4 1233036621 2 8 1233036621 2 9 And the second one: Recordingid Connection Sequenceno Code Cause 1233036621 1 1 21 9 1233036621 1 2 … | |
I need to convert this into PHP. I heard of ASP to PHP convert programs but they don't work they just append $ to a couple of places thats all. Since my other posts have remained unanswered I don't really expect replies from here either, but I a desperate. Could … ![]() | |
I need some help on Arrays. Here is the project I'm working on. Write a program to read the items into two arrays, x and y, of size 20. Store the products of corresponding pairs of elements of x any in a third away, z, also of size 20. Print … | |
Hey everyone im trying to finish up my custom renderers for menustrip toolstrip and statusstrip but when i override the OnRenderSplitButtonBackground the dropdown arrow dissapears here is my code [CODE] protected override void OnRenderSplitButtonBackground(ToolStripItemRenderEventArgs e) { if (e.Item.Selected) { Rectangle rectBorder = new Rectangle(0, 0, e.Item.Width - 1, e.Item.Height - … | |
Hi, I am new member of this forum, and i find it quite interesting. Here is my problem, i have some work for school that have to finish fast, and of course I google it, and found it here :) But there seem to be little problem, code that I've … | |
![]() | Hi all, I would like some advice as to how to go about this particular problem that I am facing. I have three computers involved in this problem: There is a real time DATA SERVER. The problem with DATA SERVER is it is located inside an internal private network. So … ![]() |
I was trying to link those file but it occur the compiling error anyhellp would be appriciated | |
hello, i have a table having 4000 (four thousand) records and now i want to delete 3000 of them as i don't need them, these records have primary key as id which is ofcourse unique. can anyone tell me how can i delete these records with one query. if their … | |
I am relatively new to python, and have run into an issue with reading a strangely formatted output file. The current format of the output file for each line is [(x,y),.....(x,y)] (tuples nested within a list?) and I need to read each line in the file and output a 3 … | |
[CODE]//****************************************************** // Filename: Solution_Lab_03.cpp // Purpose: Paint Your House Calculations // Author: Ken Busbee; ? 2008 Kenneth Leroy Busbee // Date: Dec 24, 2008 //****************************************************** // Headers and Other Technical Items #include <iostream> using namespace std; // Function Prototypes void pause(void); double getValue(); double calculateArea(); double numgallons(); double totalCost(); //****************************************************** … | |
Well I'm going through a lot of my code and wanting to clean it up a bit by creating functions to do the necessary tasks instead of having code that is multiple lines long. For example, I use the following code multiple times [code=java] ViewObject vo = new ViewObject(a, b, … | |
Hello everyone - first time poster here, long time reader. I have a minor issue that appear to simple to fix - but I've just hit a road block. I would like to create a three way inner join to display all the information I need in one SQL statement. … | |
I receive the following error when I compile my code: [CODE]blade71(154)% gcc -o vt visitype.c Undefined first referenced symbol in file aVal /var/tmp//ccrbSM18.o ld: fatal: Symbol referencing errors. No output written to vt collect2: ld returned 1 exit status blade71(155)% cat visitype.c #include <stdio.h> #define MAX 1000 void aVal(char asciiname[], … | |
Hello All: I have 2 dataGridViews and id like it that when I select a row in dgv_A that dgv_B clearsSelection. I have aceived this using dgv_A_SelectionChanged { dgv_B.ClearSelection(); } and the same for dgv_B_SelectionChanged, except it obviously clears A. This works fine except for one thing : when I … | |
right now i m working in netbeansIDE with web application i m trying to connect to sql server 2005 database using the preceding coding Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbcdbc:data"); Statement st=con.createStatement(); st.executeUpdate("insert into audio values(11)"); con.close(); st.close(); now no data are inserted int the audio table what is the solution for this.Its … | |
Hello all, I have an issue regarding using variables from my global.php in a hiarachy of documents. I will explain how this works. I have my index.php in the root of my server, I then include the global.php file and from then on I include a handle.php file for the … | |
Hi, I'm trying to pass a string from form1 to form2. The string will change dynamically change as it receive inputs in form1. I've tried some example on passing by property and passing by constructors. But, I can't read the string in the second form. Any pointers? Thanks. Dan | |
how to retain the values of radio buttons back from databese? for example, if user provided with 3 options (red, blue & green) if a user selected green(the value is stored in database) then next time he/she returning to the same page, previously selected option green radio button need to … |
The End.