132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for geekme

My code debugs with no error however the output console( black screen) just comes like a flash and vanishes in a blink, showing nothing. Here's my code : using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace beginner { class Class1 { public static void Main() { Console.WriteLine("my first program"); …

Software Development flash
Member Avatar for ddanbe
0
146
Member Avatar for aiwasen

hi everyone!!pls help me.. here's the problem -Create a program that will input a list or array of number and arrange them in ascending order.Then search a target.. please help me to program this in java!!

Software Development java
Member Avatar for aiwasen
0
166
Member Avatar for jackmaverick1

When I execute this code, I get the following error: [ICODE]‘Block’ does not name a type[/ICODE] This is the code: Block.h [CODE] #include "Area.h" #ifndef Block_H #define Block_H #ifndef Cube_H #include "Cube.h" #endif #ifndef nullptr #define nullptr 0 #endif class Block : public Area { int ID; int BlockType; Cube …

Software Development c++
Member Avatar for Arbus
0
127
Member Avatar for thecoolman5

hi, i have written this code. [CODE]#include<iostream> #include<windows.h> #include<mmsystem.h> #include<stdlib.h> using namespace std; int main (char argc) { PlaySound("TardisTest1.wav", NULL, SND_FILENAME | SND_ASYNC); system("pause"); return 0; } [/CODE] and for some reason, when the program runs, all it does is system("pause); and it doesnt play the sound. I have my …

Software Development c++
Member Avatar for m4ster_r0shi
0
3K
Member Avatar for apanimesh061

I got an exception while debugging ; [CODE] Could not load type 'readAud.signalAndFft' from assembly 'readAud, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. [/CODE] What does it mean ? What should I do to remove it ? I use VS 2008. thnx

Software Development assembly
Member Avatar for apanimesh061
0
89
Member Avatar for cppgangster

hi! What sql librries are for c++? what is the most popular?

Software Development c++ sql
Member Avatar for cppgangster
0
122
Member Avatar for chris007

hello..i build my project and i made a copy of the windowsapplication1.exe and tried to open itwith txt editor.. i tried to search for "chris" (computer username) and i see that: C:\Users\Chris.Chris-PC.000\Documents\WindowsApplication1\WindowsApplication1\WindowsApplication1\obj\x86\Debug\WindowsApplication1.pdb how can i hide that?i dont want to be my name /info there..thank you

Software Development vb.net
Member Avatar for codeorder
0
110
Member Avatar for Feriscool

I used JFormDesigner to create a GUI, and now I need to find out how I can export it so that it's a use-able program with just one click. Here's the code (not sure if you'll need it): [code]import java.awt.*; import java.awt.event.*; import javax.swing.*; /* * Created by JFormDesigner on …

Software Development gui java java-swing
Member Avatar for mKorbel
0
230
Member Avatar for steve421

Here is a snippet [code=c] myfunc (VARIANT *dmessage){ long len; len=strlen(dmessage); [/code] I get error : cannot convert parameter 1 from 'struct tagVariant' to 'const char *' =============== I want to pass a pointer to a function. I have tried, below, but I got a differ error. [code=c] myfunc (char* …

Software Development c++
Member Avatar for Ancient Dragon
0
865
Member Avatar for pseudorandom21

Well guys, I'm having a hard time learning enough about ANNs to apply them to a problem. Firstly my general understanding is that the network adapts during the "training" phase to produce the correct output with the given set of inputs. This is obviously useful with image recognition, or handwriting …

Software Development artificial-intelligence-llm c++
Member Avatar for pseudorandom21
0
194
Member Avatar for Nawar

Hello everyone: OK, so I'm working with a hard head company and hard head boss who want until now to work with DOS, I want to make my programs with a good GUI environment, I tried to work with MGUI it's good but it has its quirks. Then I tried …

Software Development c++ gui
Member Avatar for TrustyTony
0
638
Member Avatar for salah_saleh

Hey All, this is my first post on the forum so I want to send my greetings to all of you :) . Actually I am studying biomedical engineering and I am moving to my last year in the school, and I have to search for a graduation project idea, …

Software Development c++ engineering image
Member Avatar for rubberman
0
189
Member Avatar for Lilcrew

I need to create a rectangle using for loop and a nested for loop So far the code I've got is: [code]#include<iostream> using namespace std; int main() { int row, i, width, spaces; cout <<"Enter the number of rows: "; cin >> row; cout <<"Enter the rectangle width: "; cin …

Software Development c c# c++
Member Avatar for mrnutty
0
137
Member Avatar for kelifer84

Hi I was just wondering if someone may be able to help with a program I'm trying to complete for college. I am useless at programming so I have tried and tried to sort it, to no avail, yet its probably something very simple and stupid! Basically I have created …

Software Development gaming vb.net visual-basic
Member Avatar for kelifer84
0
519
Member Avatar for TrustyTony

As 3.2 has the input bug maybe it makes sense for going with 3.1.4 (I got my computer full of zombie processes with 3.2.1rc and removed it from my WindowsXP machine) [CODE] Python 3.1.4 released Python 3.1.4 has been released. Published: Sun, 12 June 2011 13:00 -0600 [/CODE] Python 2.7 …

Software Development python
Member Avatar for vegaseat
0
223
Member Avatar for ichigo_cool

Okay I'm damn fed up with this problem ever since I've been trying to organize a bunch of global variables and functions. I'm organizing the variable/function declarations in a header file and defining them in a separate cpp file. So, Globals.h and Globals.cpp.. I then try and link this both …

Software Development c++
Member Avatar for mrnutty
0
564
Member Avatar for amirwan

hi,can any one give me a good documentation about the library dos.h functions and registers which explain it in a good way to understand. for example function intr86x(),int86(), and structures REGS and SREGS ...........

Software Development c++
Member Avatar for sami qaz
0
537
Member Avatar for dina154

[CODE]// Randam Guessing Game #include <iostream> #define NEWLINE "\n\n\n" #include <cstdlib> // need to use rand() function #include <ctime> using namespace std; /*void Start(); void GetResult(); void HighScore(); int a, b, chance, maxrand; char difficultychoice, menuchoice, diffchoice; void Start() { a = 0; b = 0; chance = 0; maxrand …

Software Development c c# c++
Member Avatar for dina154
0
2K
Member Avatar for Ravenn

hi, i put together this code to read a text file line by line, split the resulting string into the 4 values and send these values to four text-boxes. during each cycle of that while loop it's suppose to initialize the backgroundworker_dowork, which will read the values and use them(and …

Member Avatar for Ravenn
0
551
Member Avatar for jagdish007

hey...I am newbie in these section..I also don't know how run these assembly program and in which edit I write these programs...pls help

Software Development assembly
Member Avatar for Schol-R-LEA
0
572
Member Avatar for vishalrane

Is it possible to navigate multiple tables at a time.... The two tables are joined with primary and foreign key relationship... Pls give me some site to which i can refer or some sample code for all first,next,previous,last I can do it when its single table.... [CODE]Private Sub btnFirst_Click(ByVal sender …

Software Development vb.net
Member Avatar for vishalrane
0
128
Member Avatar for jackmaverick1

Hi! I've been making a rather large (but not huge, by any means) program and it needs, or so I think, a couple of classes and I want them to use inheritance to make my life easier. However, when I try to include all of my files in the main …

Software Development c++ oop
Member Avatar for jackmaverick1
0
219
Member Avatar for pro_learner

Guys i have created a simple Java Desktop application in netbeans.I want to connect it with SQL server 2008.I want to know how to connect it by using ODBC.Plz help me.....

Software Development java java-netbeans sql
Member Avatar for pro_learner
0
112
Member Avatar for BOOMBOOMF

hey im new in java. i needto make GUI for my program buh im confused as to what to wirte in GUI codes and wat to write in Main codes etc. could someone plz help me? mathprogram.java main class [CODE]public class mathprogram { public static void main (String[] args){ addition …

Software Development gui java mathematics
Member Avatar for mKorbel
0
363
Member Avatar for croker10

Hi All, I am trying to use to linq to retrieve some data, and creating my queries dynamically with where clauses added to an IQueryable object. The problem I am running into is filtering for days of the week. In the table, I have a datetime of a call. I …

Software Development asp.net
Member Avatar for thines01
0
248
Member Avatar for Jake.20

I've been doing this for almost 6 hours and i can't figure out what is in my codes. please if there is someone out there can tell me what is the problem here. [CODE]public class thirdAct { public static void main (String write[]) { int beerNum = 99; String word …

Software Development java
Member Avatar for Jake.20
0
157
Member Avatar for illIAm

Hi i got this progamm working fine it is supposed to read a comma delimited text file store as an array and the output a formatted version The problem is its outputting something really weird I dont know why. [B]The text file it is supposed to read[/B] [code=text]Darwin,3,33 Darwin,1,11 Darwin,6,66 …

Software Development c
Member Avatar for Narue
0
208
Member Avatar for landog

How do I test whether the first character in an array is a particular character? [CODE] i=0 while [ $i -lt $# ]; do strng=${args[i]}; if [ $strng[0] == '-' ] echo ${array[i]} let i=i+1 done [/CODE] Better yet - can I test the first character in an array of …

Software Development shell-scripting
Member Avatar for landog
0
98
Member Avatar for Peter4n31

I am quite desperate about a random crash. The memory could not be "read" error. I would be very happy for any help. Thank you. [CODE]HRESULT CSceneNode::UpdateAll() { D3DXMATRIX backup_local_tm = ei.world_tm; Update(); SceneNodeIterator begin=FirstChild(); SceneNodeIterator end=LastChild(); for (;begin!=end;begin++) { (*begin)->UpdateAll(); // Here is the random Crash !!! } ei.world_tm …

Software Development c c# c++
Member Avatar for Peter4n31
0
192
Member Avatar for shanker31

How to implement elipsis in C/C++?

Software Development c++
Member Avatar for Salem
0
114
Member Avatar for himgar

I have set two environment variables for JAVA JDK. 1. PATH=C:\Program Files\Java\jdk1.6.0_26\bin;%PATH% 2. CLASSPATH=C:\Program Files\Java\jdk1.6.0_26\lib\tools.jar When I compiled the file using javac it was done successfully but when I ran the file using java command I got the following error: Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld

Software Development java
Member Avatar for rajatarora612
0
197
Member Avatar for masterjohji

I have the code given to me by my classm8 which tells the largest , 2nd largest , 3rd largest and smallest number. but I can't understand how his code works.Can someone explain this to me? [CODE]import javax.swing.JOptionPane; import javax.swing.JDialog; public class exer1 { public static void main(String args[]) { …

Software Development java java-swing
Member Avatar for peter_budo
0
158
Member Avatar for zebnoon

Hye All Please help me to create Data Reports Accourding to given Dates. I Created a VB6 Form put 2 Time/Date Picker Controls and one Command Button.what will be code for Button to display Report Between given dates.

Software Development visual-basic
Member Avatar for zebnoon
0
584
Member Avatar for Riteman

Dear Daniweb members.. Am on ma way to learn java. I hav bit knowledge about c,c++. Since am new to java, I need help for the following questions: 1. Where can i get the java software? (like turbo c++ for cpp)I need a link for it. I heard that it …

Software Development java
Member Avatar for Riteman
0
177
Member Avatar for localp

Hello, i have written a code in 'C' using visual C++, and i was able to create a DLL out of it. Now i need to access a method of this DLL, from my C# Main() method. How do i do this? The steps that i followed so far; 1.) …

Software Development c#
Member Avatar for localp
0
167
Member Avatar for IDC_Sharp

i made a simple code, but i have a problem and i don't know what to do.. everything work, the programs is running and all but when i click 'Download' it's write this message: "The remote server returned an error: (404) Not Found" this is the source code:

Software Development
Member Avatar for IDC_Sharp
0
78
Member Avatar for marcux

Hi all! I have a array problem I can not figure out. I have an array that I copy in a method and returns the copy, but I do not get a copy of the array. I just get strange values. [CODE] public class AClass { private float[] original = …

Software Development java
Member Avatar for JamesCherrill
0
134
Member Avatar for eman 22

how can I convert a variable of type template to an integer??

Software Development c++
Member Avatar for m4ster_r0shi
0
614
Member Avatar for Labdabeta

I just observed an unusual phenomena in my code. I am wondering if anyone can explain it. [CODE]void dofunc(int a, int b){a+=b;} void foo(int near,int far){dofunc(near,far);}//Syntax error, expected primary expression before , and ) void poo(int vnear,int vfar){dofunc(vnear,vfar);}//Compiles fine?[/CODE]

Software Development c++
Member Avatar for Salem
0
172
Member Avatar for vishalrane

Suppose der is one database name Customer which have columns like Cust_ID,Cust_Name,Cust_Mob,Cust_Address And on Form der are one list box which contains all Cust_Id from database and 4 textbox so when user click on the listbox having id as 1 it should display name, mob and address of cust_id 1 …

Software Development display vb.net
Member Avatar for saj_amo
0
6K
Member Avatar for saj_amo

hi guys , help me in this i have made a report in crystal reports 10 in that i want the field only displays data without the special characters like its showing 11-00-3200-002-37 but i want it would show the field like this 1100320000237 without (-). so does any one …

Software Development display vb.net
Member Avatar for saj_amo
0
292
Member Avatar for kroysemaj

Okay so I just got my first contract job... from my wife. (Dun Dun DUNN!) My wife works in clinical research and spends a lot of time traveling and scheduling site visits for her job. She asked me if I could write a program for her that would give her …

Software Development vb.net
Member Avatar for kroysemaj
0
139
Member Avatar for ananswer

Ok I'm new to coding and am trying to figure out how I can code in Visual Studio C#. I have a database table that has 3 columns and 10 rows. The column headings are Status, ID, and EmployeeName. In the Status colum, each row has a single digit from …

Software Development visual-studio
Member Avatar for kvprajapati
0
126
Member Avatar for Huakalero

In the line 72 of the code i do a findAll to retrieve all 'a' tags that have a 'horariosCarteleraUnderline' class and that have an href url that contains `?ic=[code]&` where code is a common code used to identifie the movie start time. It should retrieve all movie times, but …

Software Development python regex
Member Avatar for Huakalero
0
222
Member Avatar for Buolbear4444

I can't find the C/C++ drop down menu. I know it's basic, but how do you change it? Was there some kind of update?

Software Development c++
Member Avatar for Ancient Dragon
0
182
Member Avatar for pro_learner

I'm novice to C#.net & i'm using Visual Studio 2010 as the IDE.I have created a Desktop Application in C# & i want to connect it with the Database in SQL server 2008.Friends can you tell me the code or web links to solve this issue.....

Software Development c# ide sql visual-studio
Member Avatar for pro_learner
0
1K
Member Avatar for MrVBLearner

I am trying to control the security board using the Windows Firewall which connects to my server that was made in VB.Net. My only problem is when I open the Windows Firewall my server crashes. It also displays this error: "Error, win%fir%90y4e does not support this server. Please upgrade you …

Software Development client-server vb.net visual-basic
Member Avatar for Crack Cracker
0
299
Member Avatar for jarograv

I have this code: [CODE] def closest(): citiescomp=[] distances=[] for i in range(0,len(city_names)-1): citiescomp.append([city_names[i], citiesx[i], citiesy[i]]) while True: try: targetx=int(raw_input('Please enter the x coordinate of the city you wish to target: ')) if targetx in range(0,1000): break else: print "Oops, it seems like you made a mistake. Try again by …

Software Development python
Member Avatar for Gribouillis
0
108
Member Avatar for katrien202

Hi, I want to put plots using pyplot in a Tkinter window, a frame. I want to have the options I usually have in pyplot figures: the user has to be able to zoom, save,... so a photo of the image will not satisfy. Does anyone now how to do …

Software Development python tkinter
Member Avatar for Ene Uran
0
80
Member Avatar for glucose

I am writing information to a list box and I want to be able to have a small case letter following a period with no space between them ie: Harry.c I am using VB6. I will appreciate any/all help. Thanks.

Software Development visual-basic
Member Avatar for WaltP
0
112

The End.