199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mannyloy

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.

Member Avatar for mannyloy
0
120
Member Avatar for sfurlow

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() …

Member Avatar for siddhant3s
0
94
Member Avatar for ellimist14

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 …

Member Avatar for ellimist14
0
175
Member Avatar for power_computer

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 …

Member Avatar for mrnutty
0
142
Member Avatar for oneat
Member Avatar for Talguy

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 …

Member Avatar for dkalita
0
69
Member Avatar for acidik_4

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 …

Member Avatar for MrNoob
0
74
Member Avatar for duggydiggy

[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 …

Member Avatar for MrNoob
0
72
Member Avatar for chupinette

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 :)

Member Avatar for chupinette
0
110
Member Avatar for sleight

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 …

Member Avatar for sleight
0
204
Member Avatar for mark2326l

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) …

Member Avatar for mark2326l
0
107
Member Avatar for Natique

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 …

Member Avatar for Murtan
0
350
Member Avatar for phantom8l

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 …

0
56
Member Avatar for xxunknown321

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> …

Member Avatar for Lerner
0
202
Member Avatar for liadmz

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.

Member Avatar for liadmz
0
227
Member Avatar for mackemforever

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 …

Member Avatar for Diamonddrake
0
162
Member Avatar for nihao

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~

Member Avatar for nihao
0
141
Member Avatar for CNIDog

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 …

Member Avatar for sknake
0
144
Member Avatar for abhipro

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 …

Member Avatar for sknake
0
141
Member Avatar for Seagull One

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 …

Member Avatar for Seagull One
0
571
Member Avatar for jrw0267

[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 …

Member Avatar for edwinhermann
0
90
Member Avatar for low1988

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 { …

Member Avatar for Murtan
0
115
Member Avatar for armyguydave69

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 …

Member Avatar for armyguydave69
0
83
Member Avatar for vextorspace

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 …

Member Avatar for vextorspace
0
279
Member Avatar for Darth Vader

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(); …

Member Avatar for Antenka
0
175
Member Avatar for StarZ

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. …

Member Avatar for Grn Xtrm
0
131
Member Avatar for Nattynooster

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 …

Member Avatar for TomW
0
170
Member Avatar for lancevo3

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 == "+") …

Member Avatar for sfuo
0
786
Member Avatar for Alba Ra

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 …

Member Avatar for Alba Ra
0
426
Member Avatar for nish123

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 …

Member Avatar for CFROG
0
141
Member Avatar for DC257209

[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 >= …

Member Avatar for Grn Xtrm
0
103
Member Avatar for milenio

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 …

Member Avatar for Ezzaral
0
124
Member Avatar for MikeGore

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 …

Member Avatar for diafol
0
143
Member Avatar for Bemani_lover

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 …

Member Avatar for StuXYZ
0
185
Member Avatar for phantom8l

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 - …

Member Avatar for Diamonddrake
0
185
Member Avatar for Comix Zone

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 …

Member Avatar for Comix Zone
0
228
Member Avatar for vanand

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 …

Member Avatar for vanand
0
99
Member Avatar for Se7Olutionyg

I was trying to link those file but it occur the compiling error anyhellp would be appriciated

Member Avatar for Se7Olutionyg
0
66
Member Avatar for Es Sayen

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 …

Member Avatar for ultimahosts
0
164
Member Avatar for jtabak2

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 …

Member Avatar for jice
0
165
Member Avatar for Se7Olutionyg

[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(); //****************************************************** …

Member Avatar for sfuo
0
129
Member Avatar for KirkPatrick

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, …

Member Avatar for Ezzaral
0
117
Member Avatar for infern0
Member Avatar for gavola

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. …

Member Avatar for Kruptein
0
804
Member Avatar for Ineedhelpplz

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[], …

Member Avatar for Ineedhelpplz
0
185
Member Avatar for TinoMclaren

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 …

Member Avatar for Geekitygeek
0
215
Member Avatar for Nishanthi

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 …

Member Avatar for peter_budo
0
80
Member Avatar for Froger93

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 …

Member Avatar for chrishea
0
213
Member Avatar for flit07

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

Member Avatar for flit07
0
201
Member Avatar for nadnakinam

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 …

Member Avatar for nadnakinam
0
168

The End.