43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for scru

:eek: This is the strangest thing. The program ignores all of my for loops in this method. I double checked the syntax and everything. Am I missing something? BTW, I know that it skips those, because I tell it to play a sound when it enters, and it doesn't play …

Software Development
Member Avatar for jOhN_pRattZ
0
134
Member Avatar for Kadence

I believe indefinite arguments can be defined with '...', but then how do you access them? For instance for the following function: [CODE]int test(int n, ...){ return n; }[/CODE]

Software Development c++
Member Avatar for Kadence
0
282
Member Avatar for newtechie

i have a problem in getting the required display in barchart my intended display is year91 -------------- 110 but i get a display as year91 -------------- year91 can anyone please let me know what is wrong in my html file or java code. [CODE]import java.awt.*; import java.applet.*; public class BarChart …

Software Development java
Member Avatar for newtechie
0
116
Member Avatar for Jadellll

Hi, I'm looking for the module that floor() is located in. I would have assumed it would be loaded from the path, but after trying several times, its not. Also, while I'm at it, is there a way to permanently add things to the path. So I can add my …

Software Development python
Member Avatar for Gribouillis
0
157
Member Avatar for monkey_king

Hi I'm doing a statistical mcmc model where I need some random numbers. I decided to use the ranrot-w generator. The random number only works when I call the randomnumber method directly, and not when i give the random number as an parameter to another function. that is rg.Random() !=random(rg) …

Software Development c++
Member Avatar for monkey_king
0
156
Member Avatar for loimarie

Hi everyone!Can you please help me with my project.My problem goes like this: I have to make a bcd coded program in finding the modulo of a number,assemble it in masm and load it into the pic16f84a.I am going to use a dip switch for it's input and 1 7-segment …

Software Development assembly
Member Avatar for sDJh
0
178
Member Avatar for xcesmess

I'm fairly new to the C++ world (did some C work in the past years ago) so I'm a little rusty on some things :) I've got a small table in a database and I'm trying to grab some date information out of a UNIX EPOCH time stamp (all seconds). …

Software Development c++ mysql unix
Member Avatar for Ancient Dragon
1
111
Member Avatar for lid

Hi everyone ! Inside my program, i have a function which delete all the values in the "Entry" widgets. This function works with a simple button "Reset". I have also 2 radiobuttons. I would like to know, please, how radiobutton.deselect() works to deselect all the radiobuttons with my buton "Reset". …

Software Development python tkinter
Member Avatar for lid
0
13K
Member Avatar for abhigame

i hav thiught a lot about the problem but at the end i was not even able to mave an inch forword .the problem is: we hav to develop a program that make user input a series and then will calculate the misiong term. ex: 1>4,6,9, ,14,16,19,... then the answer …

Software Development c++
Member Avatar for papuccino1
0
124
Member Avatar for Falkoner1

Is there a system command that I can use with system("x") to expand the prompt the program is in? Or any other way of doing it, for that matter, I just need to get it to be the size it would be if I told the computer to maximize it, …

Software Development c++
Member Avatar for Falkoner1
0
176
Member Avatar for gispe

hi ppl, i just starte a new program, but now im having a lot of error wich "i think i wrote the code well", but cant understand what they mean... here i pass the code... [code=cplusplus] #include "stdafx.h" #include <iostream> #define ingresos_totales 5; using namespace std; int main(int argc, char* …

Software Development c++
Member Avatar for gispe
0
264
Member Avatar for JA5ONS

guys, im after a piece of code that when embedded into a button, clears the text entry boxes of the GUI so new information may be added. Like adding a new customer after you press save. At the moment you press save but the information stays there cheers.

Software Development gui python
Member Avatar for vegaseat
0
108
Member Avatar for vegaseat

This post by [B]s7plc[/B] was moved from the Starting wxPython (GUI code) thread ... [QUOTE]I've been working with various widgets from the wxPython demo library, and am making pretty good progress. But I just ran into a problem that I am sure has a simple answer, but I just can't …

Software Development gui python
0
84
Member Avatar for Peter_Saumur

Hi all, First-timer and first post. I have been given a task of convert large data files to/from a self-defined format. In the "xml" form, the format for each record is: [CODE] <power> <name> </name> <level> </level> <kind> </kind> <source> </source> <flavor> </flavor> <type> </type> <keywords> </keywords> <action> </action> <attackTypeAndRange> …

Software Development data-structure open-source python xml
Member Avatar for Peter_Saumur
0
87
Member Avatar for preethi99

I need to do reporting in VB6. Can I use Crystal Reports ? My program doesn't get its data from a database. I need to pass simple variables to the report rather than link it to a database. Please enlighten me. Thanks and regards Preethi

Software Development visual-basic
Member Avatar for guest11
0
141
Member Avatar for ahmbil

i am trying to display a DB infos into a textbox. This my code sqlstr ="SELECT Description, Price FROM T_barcode WHERE Barcode ='" & Text1.Text & "'" con.Execute sqlstr Text2.Text = rec.Fields("Description") Text3.Text = rec.Fields("price") and iam recieving this "Item cannot be found in a collection corresponding to the requested …

Software Development visual-basic
Member Avatar for gsatya
0
92
Member Avatar for RobWil

I am newbe trying to make a data display application in VB6 with Flash Animation (Interface). My question is: When I run the application, it should opens in normal window with title bar (not maximized). But when user press a button or some thing like that, window should resize (maximize) …

Software Development flash user-interface visual-basic
Member Avatar for RobWil
0
5K
Member Avatar for nihao

Hello everyone: I want to change this date "12 Apr 2006 23:35:47" into "2006-04-12 23:35:47",I have tested lots of parameters of the command "date",but it still not execute UNDER FreeBSD,pls help me,thanks!

Software Development shell-scripting
Member Avatar for dklima
0
560
Member Avatar for Lukezzz

If I have 2 Forms in my application and Form1 is my startingForm. Is it possible to make Form2 as my startingForm instead. What indicates in the code that Form1 is my startingForm. Is this possible to do ?

Software Development c++
Member Avatar for Lukezzz
0
119
Member Avatar for Gribouillis

In the Perl language, you can fork a child process with the following syntax [code=perl] open CHILD, " | programA | programB | program C"; print CHILD "this is an example input"; [/code] (at least, you can do this under linux). This statement starts 3 processes in fact; programA, B …

Software Development perl python
Member Avatar for slate
0
229
Member Avatar for dinilkarun

Hi, I am using a dialog box where user selects a XML file from the local drive. The selected file along with the folder path is displayed in a textbox on the form. The user can now edit the textbox. On click on 'Proceed' button, I am parsing that xml …

Software Development visual-basic xml
Member Avatar for dinilkarun
0
120
Member Avatar for bimaljr

Hi I just want to count files of particular type (like *.txt) in a folder. I searched net and found this for all files count : file_count = len(os.walk(valid_path).next()[2]) But I need perticuler type like *.txt . (means how many .txt files in folder) How to do this ? Thanks …

Software Development python
Member Avatar for bimaljr
0
8K
Member Avatar for natpu

[code]using System; class abc { public static void fun() { Console.WriteLine("Function"); } public static void Main(string[] args) { ThreadStart ts=new ThreadStart(fun()); Console.WriteLine("Main begins"); Thread t=new Thread(ts); t.Start(); Console.WriteLine("Main ends"); } } [/code] [B]Output showing[/B] Main Begins Main ends Function. [B]My Question[/B] The thread has been started and then the "Main …

Software Development
Member Avatar for natpu
0
97
Member Avatar for plike922

I am learn about using arrays and i need help [CODE]#include <cstdio> #include "simpio.h" #include "strlib.h" #include <iostream> using namespace std; #define Max 6 int main() { int power2[Max], i, n; for (i=1; i<=32; i++) { power2[i] = i; i = i*2; } for(n = 0; n<=Max; n++) { printf("%d …

Software Development c
Member Avatar for Aia
0
81
Member Avatar for omdnaik

Hii there Can ne tell me how to compile and run a C prog. using microsoft VC++... Till now i have been using Turbo C++ Compiler...

Software Development c c++ microsoft
Member Avatar for Ancient Dragon
0
139
Member Avatar for herephishy

Consider the following VBA statement that calls a user-written function procedure Conevol with two arguments: Volume = 0.333* Module1.Conevol(radius, height) Based on the above VBA statement, identify the assertions below that are false: a. The above VBA statement resides in Module1 b. Conevol is a public procedure c. Conevol returns …

Software Development visual-basic
Member Avatar for aktharshaik
0
165
Member Avatar for HLA91

Hey all I am making a simple text editor, it is my first project and I have got the text area all set up but i have now tried to add a menu bar which will hold the File>Save,Open,exit etc... I have created the menubar and added one menu item …

Software Development java java-swing
Member Avatar for HLA91
0
3K
Member Avatar for herephishy

I'm trying to create a do while loop where I can automatically fill cells A1:D1 with the numbers 4 to 1 respectively. can anyone help??

Software Development visual-basic
Member Avatar for aktharshaik
0
173
Member Avatar for herephishy

How would I modify this do while loop to generate the values 4 to 1 instead of 1 to 4 I can't figure it out?!?!? thanks

Software Development visual-basic
Member Avatar for aktharshaik
0
105
Member Avatar for Jadellll

My code is below. Try running it if possible to see the problem. But basically, after returning the word as backwards (cc2) it then displays none on a new line. Why? and how do I prevent this in the future? [CODE]print "Welcome to the string reverser and palindrome checker. \n …

Software Development python
Member Avatar for Aia
0
140
Member Avatar for herephishy

Ok. here it is. can anyone help?? [R5] Consider the following code segment: Dim I, Isum As Integer Isum = 0 For I = 8 To 1 Step -3 Isum = Isum + I*I Next I What will the value of the variable I at the termination of the loop? …

Software Development visual-basic
Member Avatar for aktharshaik
0
91
Member Avatar for Alex Edwards

I've read up to the point where the author explains partial classes. I understand the general concept - they're used when a class is so big that it is better to split it across files. I created two .cs files. Let's say one is CS1.cs and the other is CS2.cs …

Software Development
Member Avatar for Alex Edwards
0
171
Member Avatar for Jadellll

Hi, I'm looking for where either the sort module or the sorted() function resides. I'm thinking a module in the default folders, but have no idea where it is, or how to locate it (sorted is in the path, but I don't know how to display a parent based of …

Software Development python
Member Avatar for Jadellll
0
107
Member Avatar for dmanw100

Is there an easy way to convert from Char* to int? I have tried converting as such: [CODE]char* value_a; int* temp = value_a; int final = temp;[/CODE] The compiler is returning an error so I know something is wrong but why can't I convert this way? Any suggestions as to …

Software Development c++
Member Avatar for ArkM
0
181
Member Avatar for phillipeharris

I am trying to write the class that will take in objs from another class and put it into a circular array without using the STL. O I wrote the class and in Main I delcared an obj of the queue called (myQueue myQ) so this is the obj but …

Software Development c++ queue
Member Avatar for phillipeharris
0
97
Member Avatar for Clockowl

Hi guys, I've got two loops, and I want to be able to continue; the outermost loop when the innermost loop finds something. How would I do that? [code=c] //(...) for (n = startStorage; n < quadcount; n++) { if (!notOptimized(n, optimized)) continue; int *x = &quadindex[n*4]; for (eachX = …

Software Development c
Member Avatar for Clockowl
0
123
Member Avatar for BradenMurphy

[CODE] string hello; cin>>hello; sprintf(buf, "This server has been contacted time%s\n", hello); [/CODE] I'm making a simple client-server program. I just want to know how do I get to print out the hello string inside the sprintf() >.< soz might be a very dumb question.... The error i keep getting …

Software Development c++ client-server
Member Avatar for BradenMurphy
0
268
Member Avatar for K.Vanlalliana

If you can help by giving guide to write this using VB, I shall be very glad: I want to get the quotient and a remainder when one number is divided by another one number, Can you please give/show me the Coding to this problem?

Software Development visual-basic
Member Avatar for K.Vanlalliana
0
196
Member Avatar for dmanw100

I have a problem that seems like it should be easy but so far has been fairly difficult to find documentation on... I want to be able to pass parameters to a program in the command line in the same manner as the built in functions (ex. the "/r" in …

Software Development c++
Member Avatar for Prabakar
0
122
Member Avatar for Alex Edwards

Hi, my name is Alex. I'm fairly new to C# but apparently I may be required to know how to manipulate .NET Frameworks via C# so I am studying a beginners book and another book to thoroughly understand the language. The problem is that I am struggling to understand the …

Software Development c#
Member Avatar for Alex Edwards
0
157
Member Avatar for krebstar

Hi.. I have a question regarding the configuration manager.. Why is it that the samples on the MSDN Learning center cannot be compiled using the default settings? With Itanium as the active solution platform by default, the compiling gets skipped.. However, when I change this to Win32, it compiles.. Isn't …

Software Development c++
Member Avatar for krebstar
0
110
Member Avatar for daviddoria

I want to be able to do this: Pass a parameter to my main program like "parallel = yes" and then many functions down in the hierarchy (ie main calls "Function1" which calls "Function2" which calls "Function3", etc) I need to see the value of "parallel". I'd hate to have …

Software Development c++
Member Avatar for Radical Edward
0
99
Member Avatar for gispe

hi ppl, im havin a problem with declaration of functions, its givin me errors on the functions i made. [code=cplusplus] // empleados.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> using std::basic_iostream; char menu (char); void ingresar_legajo_hijos (int &, int &); void ingresar_horasTrabajadas_valorHora (int …

Software Development c++
Member Avatar for gispe
0
127
Member Avatar for sciwizeh

is it possible to use the Dev-C++ compiler with Netbeans? if so how, i can't find anything that explains it.

Software Development c++ ide
Member Avatar for sciwizeh
1
387
Member Avatar for gregorynoob

the problem is to find the minimum numbers to be popped from an array to make it sorted. so for example 12534756, you can pop all but one, but it's best to pop 5 and 7 cause it's the least needed to make it sorted. I'm having difficulties finding a …

Software Development algorithm c++
Member Avatar for ArkM
0
104
Member Avatar for coderoobie

Hi happy people I've bin trying to sort items in a list box, the problem is obviously: It doesn't work Please, any modifications to the code below is fully and unconditionally allowed. [code=C++] void __fastcall TForm1::btnSortClick(TObject *Sender) { //sort ascending if (rdAscending->Checked){ bool swopped = true; int iEnd; int arr …

Software Development c++
Member Avatar for coderoobie
0
170
Member Avatar for Narf!!!

Good morning, good afternoon and good evenings (to cover almost all posibilities) The error message is as follows in DEV-C++ compiler [QUOTE] Compiler: Default compiler Building Makefile: "I:\cpp\Makefile.win" Executing make... make.exe -f "I:\cpp\Makefile.win" all g++.exe include/Test.o include/Objeto.o include/ConjuntoBase.o include/IteradorBase.o include/ConjVector.o -o "TestEstructurasDiscretas.exe" -L"C:/Dev-Cpp/lib" include/ConjVector.o(.text+0x45):ConjVector.cpp: undefined reference to `vtable for ConjVector' …

Software Development c++
Member Avatar for Narf!!!
0
94
Member Avatar for sanbal

I am creating a msi file in windows installer. When the msi is executed, it register some dlls in the registry. I renamed a dll in the code and i manually want to rename the dll in the registry. How can i do this Thanks in advance

Software Development c c# c++
Member Avatar for Ramy Mahrous
0
103
Member Avatar for winbatch

Hi, I have a swing app where I am using (among other things obviously) an editable JComboBox and a jButton. when the JButton is clicked, it does some processing and uses the value in the JComboBox as one of it's inputs. I'm finding that everything is fine when: - The …

Software Development java java-swing
Member Avatar for winbatch
0
203
Member Avatar for BPNavigator

Hi I'm new to Visual Basic and writting code for excel. My first attempt at writting a piece of code is to format a range of cells to display a particular date and time format. dd/mm/yy hh:mm. My problem is that I have written the code that uses a drop …

Software Development visual-basic
Member Avatar for BPNavigator
0
179

The End.