132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ichie06

Make A C Program That Performs The Following Algorithm: (a)Use Scan F To Input The Following Data: -assign Value 26 To Age. -assign Value 80 To Weight In Kg. -assign The Value 183.219 To Height Cm. (b)Calculate The Weight-to-height Ratio. (c)Display A Heading For The Results (d)Display The Results In …

Software Development algorithm c
Member Avatar for tux4life
0
109
Member Avatar for khuks

I have this error pliz help me out. "The ConnectionString property has not been initialized."

Software Development vb.net
Member Avatar for kvprajapati
0
73
Member Avatar for laghaterohan

hello, am doing an application (c#.net)wherein i need to add the Fileupload control one below the other on the click of the Attach more files button; just as we have in the E-Mails. How can the control get added to the form ? can ne1 help me out ? cya …

Software Development
Member Avatar for kvprajapati
0
130
Member Avatar for VIkhers

dear sir... i got a confusing of this... [code]ifstream is; Char c, temp_isi_file[100]; int i; is.open ("b.a"); memset(temp_isi_file,'\0',100); while (is.good()) // loop while extraction from file is possible { c = is.get(); if (is.good()) if (c==',') { //cout << temp_isi_file << ":" ; [COLOR="Red"]textBox1->Text = Convert::ToString(temp_isi_file);[/COLOR] i=0; c='\0'; memset(temp_isi_file,'\0',100); } …

Software Development c++
Member Avatar for VIkhers
0
212
Member Avatar for kokotsu

Hello, I was trying to create a Coalesced hash table by self teaching myself using various sources. I fixed most of the errors, but when i compile on either my visual C++ compiler or Dev -C++ both saids there is a undefine linker reference for the hash members in my …

Software Development c++
Member Avatar for kvprajapati
0
109
Member Avatar for Dum_

Hi, Can someone send me in the right direction some links or enything else related to the following... Is there a C# possibility to be blocked network traffic to according to specific IP addresses when C# applications start.

Software Development
Member Avatar for Dum_
0
92
Member Avatar for rahul8590

i have recently installed wxpython on python2.5 and wrote the following code [code] import wx app = wx.App() app.MainLoop() [/code] Then i got this error(attached file) , and i have no idea what it talks about. Traceback <most recent call last): File "<stdin>", line 1 , in <module> File "C:\Python25\Lib\site-packages\wx-2.6-msw-ansi\wx\_windows.py",line …

Software Development gui python
Member Avatar for shadwickman
0
162
Member Avatar for elitedragoon

This program requires the user to input data, after which it calculates. After calculating all the users it puts it prints it onto a document and screen. After which it gets sorted by name, the data gets outputted to another screen displaying a fake check that includes that is grabbed …

Software Development c
Member Avatar for Salem
0
227
Member Avatar for lotrsimp12345

IT is defined in the back of my book but can't be found in my program.

Software Development c++
Member Avatar for csurfer
0
97
Member Avatar for Diamonddrake

What are you guys using for version control in conjunction to Visual Studio? I am currently using Tortoise Bazaar, and it shipped broken, had to edit a file just to get it to run. Other wise its effective, only it is a console interface. and although I know many that …

Software Development visual-studio
Member Avatar for Diamonddrake
0
96
Member Avatar for tazboy

Here is my function that reads in a list of integers and doubles the size of the array if there are too many inputs. The current size of the array is 10. [CODE=C++] int* read_list ( int *list, size_t *list_size_ptr, size_t *array_size ){ size_t index = 0; int *new_list; while …

Software Development c++
Member Avatar for VernonDozier
0
98
Member Avatar for clueless123

hi people i really need help in this. i have a c# win form which helps me in taking database from access, putting it into an array and counting the word based on user search. Each form will contain different number of words that the user search so anyone know …

Software Development
Member Avatar for serkan sendur
0
94
Member Avatar for katamole

Hi there, One of the ways one can reverse a string in python is like so: [CODE=PYTHON] Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> mystring = "Hello, World!" >>> mystring[::-1] '!dlroW ,olleH' >>> [/CODE] It is …

Software Development python
Member Avatar for sravan953
0
144
Member Avatar for CppBuilder2006

console.cpp: [CODE="c++"] #include <iostream> #include <string> #include <vector> using namespace std; template <typename T> T #ifndef _DEBUG & #endif val(const T& x); class A { private: public: void f(); }; void A::f() { val(1);// deleting val solves the problem } int main() { new A; cin.get(); } [/CODE] general.cpp: [CODE="c++"] …

Software Development c++ visual-studio
Member Avatar for Dave Sinkula
0
108
Member Avatar for Dragonfyre

I think that I understand the concept fairly well, but I appear to be having some issues with syntax perhaps. I have 2 classes. My main class and BubbleSort.java. In my main class I receive values from the user and store them in "int array[]". The values appear to have …

Software Development java
Member Avatar for Dragonfyre
0
119
Member Avatar for agent154

[code=c#]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SQLite; namespace PlayingWithSQLite1 { abstract class Database { #region Member Variables string PATH = String.Format("{0}\\Database\\", Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)); string FILENAME = "test.s3db"; #endregion public string File { get { return string.Format("{0}\\{1}", PATH, FILENAME); } } public static void CreateDatabaseFile() { SQLiteConnection.CreateFile(File); } } …

Software Development sqlite visual-studio
Member Avatar for agent154
0
113
Member Avatar for foosion

I have a tkinter/python program which does something time consuming when I push a button. I'd like to give the user progress reports by updating a label field at each stage of the time consuming process. If have simple loop to the effect [code] for x in y: dosomething(x) self.label1.config(text …

Software Development python tkinter
Member Avatar for foosion
0
203
Member Avatar for shobhitzone

hi, i want to paging in c#. pls help me. Thanks

Software Development c#
Member Avatar for sknake
0
94
Member Avatar for rajasekhar1242

hi, I am trying to get an image with my python application output. please give me that process.

Software Development python
Member Avatar for zachabesh
0
4K
Member Avatar for monkey56657

Hello. I am quite new to c++ but am working on translating a prime generator I have made over from c#. I have everything working well but have found that c# can output to file faster than c++ (by around 10%). This is once the 'working out' is done. Here …

Software Development c++
Member Avatar for monkey56657
0
280
Member Avatar for hughesadam_87

Hey guys, This questions is more about organization of python modules than the actual construction therein. In my project, we have several scientists performing similar analysis on several different data sets. For each project, the science changes, but the analysis often requires almost identical data handling. For example, one project …

Software Development data-science python
Member Avatar for hughesadam_87
0
128
Member Avatar for sambafriends

namespace first { public class index { int count; public index() { count = 0; } public static index operator++(index x) { x.count++; return count; } } class Program { static void Main(string[] args) { index i = new index(); i++; Console.WriteLine(i); } } } when i am typing this …

Software Development c#
Member Avatar for Ramy Mahrous
0
178
Member Avatar for seakayaker

Hi, I have developed a lot console applications in C++ using Visual Studio Express and I am curious how much effort it would be to wrap them with a ultra simple GUI? Do I have to purchase MFC or code hunded of pages in order to accomplish this in C++ …

Software Development c++ gui ide visual-studio
Member Avatar for Stefano Mtangoo
0
152
Member Avatar for Stefano Mtangoo

Is it good Idea for Newbie in Java like me(Python guy) to begine with 3rd Edition of thinking in Java by Bruce Eckel? The reason is, it is free downloadable. If no any suggestion?

Software Development java
Member Avatar for Stefano Mtangoo
0
106
Member Avatar for Rhijaen

Hi there, this is my first python project. I'm new to python but I have experience in a few other languages. I'm trying to export (to mysql) a list of files and subdirectories from several directories on my hard drive. Basically just so I can have an online database of …

Software Development hard-drive python
Member Avatar for shadwickman
0
136
Member Avatar for agent154

I have a SQLite database added to my project in the solution explorer, named testdb.s3db. What I want to do is reference it in my code without having to fully qualify the path. Currently my code is [icode]SQLiteConnection connection = new SQLiteConnection("Data Source=C:\\Users\\Chris\\Documents\\Visual Studio 2008\\Projects\\ConsoleApplication3\\ConsoleApplication3\\testdb.s3db");[/icode] Can I do this somehow …

Software Development sqlite visual-studio
Member Avatar for sknake
0
110
Member Avatar for ndfi54

Im trying to write a program to print all the primes from 1 to 100. I am however required to use a boolean function. My problem is that all the odd #s except 1 also appear in the output. [code] #include "stdafx.h" #include <stdio.h> #include "strlib.h" #include "genlib.h" #include "random.h" …

Software Development c
Member Avatar for ndfi54
0
246
Member Avatar for Cromarte888

Alright, I'm down to the nitty gritty absolute end of a fully functional hangman game. There is just one part where I am absolutely stuck. When you get a wrong guess, the game successfully draws the gallows. I have no issues with wrong guesses. It's the right guesses that has …

Software Development c++
Member Avatar for Cromarte888
0
232
Member Avatar for Facte

All I am trying to do is create an XML feed so that I can submit it to a site. However no matter what I do (albeit with my limited size of brain) all I get are errors. It hates pound signs and apostrophes even if I try the only …

Software Development xml
Member Avatar for Facte
0
174
Member Avatar for urs.karuna1218

Hi, How can I find the number of nodes in the node-set. Here in the below document I want to find the number of nodes in DocumentList element. Am new to Xpath. Can anyone please help me out? <?xml version="1.0" encoding="UTF-8"?> <ProcessData> <SessionBeginTime>2009-07-14 13:24:28.218</SessionBeginTime> <ServerResponse> <Code>226</Code> <Text>226 Transfer OK</Text> </ServerResponse> …

Software Development xml
Member Avatar for urs.karuna1218
0
162
Member Avatar for Denxerator

Okay so, It's my first time on C++. They say you can use C++ to make games, so I want to learn about C++. (remember I'm a big newbie) So my question is, how does C++ work? Like if you put the C++ code in notepad, save it, open it, …

Software Development c++
Member Avatar for tux4life
0
181
Member Avatar for msteele

I've noticed a few different ways people write the main() function. int main{ } main(void){ } void main(){ } I'm confused with what's considered "best practice" or why I'd choose one over the other. Is there a difference? thanks!

Software Development c
Member Avatar for MosaicFuneral
0
151
Member Avatar for born_to_code

i have to make a program to find the intersection of two strings, i have made program but its not working. any help will be appreciated.:) [code] #include <cstdlib> #include <iostream> using namespace std; void intersection(char *str1, char *str2) { int len1,len2,i=0,j,flag=0; char temp[30]; while(*str1!='\0') //outer loop for 1st string. …

Software Development c++
Member Avatar for Tom Gunn
0
1K
Member Avatar for RahulV

Hi, [icode]Environment.SpecialFolder[/icode], this returns a enum without having a [icode] public GetEnumerator();[/icode], , can u tell me how to access the values like by using foreach statement?

Software Development
Member Avatar for Ramy Mahrous
0
127
Member Avatar for kinger29

How do you print a SOAP response? I have been trying to do the following but its not printing the actual soap message. Its just giving me some sort of description. [ICODE] SOAPMessage reply = connection.call(message, destination); String myreply = reply.getSOAPPart().getContent().toString(); [/ICODE]

Software Development java
Member Avatar for ~s.o.s~
0
347
Member Avatar for karamjeet2004

Hi I am making some kind of search engine in java.In which i want to search initials from database(ms access) suppose to search united states of america we type usoa so how can i do that from where to i start can anybody plz.........

Software Development java
Member Avatar for tux4life
0
179
Member Avatar for lotrsimp12345

ITS ALL THE WAY AT THE BOTTOM OF MY IMPLEMENTATION FILE. MAIN [code] #include <iostream> #include <fstream> #include "line_test.h" using namespace std; int main() { //open up file to be read string input; ifstream in; cout<<"enter file name which needs to be opened\n"; cin>>input; in.open(input.c_str()); while(!in) { in.close(); cout<<"the input …

Software Development c++
Member Avatar for Dave Sinkula
0
108
Member Avatar for CppBuilder2006

please download the VC++ express 2008 project attached. it has linker errors. please help me solve the problem.

Software Development c++
Member Avatar for CppBuilder2006
0
63
Member Avatar for BHUJI

Hi guys, I am in great trouble. I want a c++ project within 1 week!!!! But my teacher wants the topic name tomorrow ! pls help me give me some project ideas project should be simple&is in c++ language graphics are not allowed it can be management projects:sad:

Software Development c++
Member Avatar for tux4life
0
270
Member Avatar for deostroll

Hi. I am trying to print a single digit decimal number on to the screen. So far I've come out with this code. [ICODE] mov ax, 3 var db '$' mov bx, offset var add ax, 30h mov [bx], ax add bx, 1 mov byte ptr [bx], '$' mov ah, …

Software Development assembly
Member Avatar for wildgoose
0
2K
Member Avatar for nolesce

I am working on a vb app and am getting this error when calling a form (frmCaseList) from another form(LoginForm). the frmCaseList wasat one time in a different solution where it worked fine (it was the startup form). frmCaseList is also inside a namespace. If I commentout the [icode].show()[/icode] line …

Member Avatar for nolesce
0
385
Member Avatar for smoore

Okay so I have a screen with a toolbar on the top (BorderLayout.NORTH) with about 5 buttons. What I want to do is be able to switch back and forth between JPanels with each button click. so each time I click one of the buttons a new JPanel appears in …

Software Development java
Member Avatar for masijade
0
146
Member Avatar for sivak

can anyone tell me the differnence between sql 2000 and sql 2005 ....scarp me or send me the link or material ..it will be very useful and very urgent also

Software Development
Member Avatar for serkan sendur
0
138
Member Avatar for flair999

Hi ancient dragon. i need to extract specific words from 2 different point (directors and writers in a text file), like delimiters example of the text file below: i want [B]alex proyas[/B] to be extracted. words........ [B]DIRECTOR:[/B] alex proyas [B]Writers[/B]:...... this case is quite similar to the one above, but.... …

Software Development c++ file-stream
Member Avatar for Salem
0
90
Member Avatar for declain

I am working on an assignment that basically requires a class INT that operates similar to the int standard class... Below is my code. All seems to be working, with the exception of handling this line: INT x,y = 6; should assign 6 to x and y. Assigns only to …

Software Development c++
Member Avatar for declain
0
121
Member Avatar for smoore

Okay so i am having a little trouble with my JFormattedTextField. I figured out how to work the MaskFormatter somewhat but not great. the formatting is fine, like when I want to restrict a field to only 15 characters that works but when I move the cursor to another field …

Software Development api java
Member Avatar for smoore
0
111
Member Avatar for rizillion

I have created a database using MS SQL named "Company" and there is a table named "Employee". I need to print the records from the "Employee" table to a JTextArea keeping tabs for each columns in the JTextArea. How can i do it? Please help.

Software Development java sql
Member Avatar for peter_budo
0
174
Member Avatar for ViLeNT

Hello, I'm still fairly new at shell scripting, can someone please show me how I would go about accomplishing a script to tackle these tasks? I've got a server setup. I want to find duplicate files that are taking up all the space on the hard drive. I want to …

Software Development hard-drive shell-scripting
Member Avatar for ViLeNT
0
204
Member Avatar for serkan sendur
Member Avatar for serkan sendur
0
738
Member Avatar for hoti99

i want to simulate something in asm like strcat function in C strcat("Hello",World") ==> Result "HelloWorld" please help me to do this iam very begginer in coding i need just a simple code .model small .stack 64 .data ;******************************** s1 db 'hello ' s2 db 'world' ;******************************** .code main proc …

Software Development assembly
Member Avatar for wildgoose
0
725

The End.