43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for zwench

Can anyone tell me in simple terms how to create a class Library in VS 2003. It does not have that as an option when you go to add it. Any info would be appreciated. I went in and changed this : <Settings ApplicationIcon = "" AssemblyKeyContainerName = "" AssemblyName …

Software Development vb.net
0
64
Member Avatar for FreezeBlink

Recently I downloaded Ubuntu v8.04 (Hardy Heron), and was delighted to find Python pre-installed. However, that pleasant surprise was soon dampened by the fact that IDLE would not run, and so I am left without a decent program for coding in Python. gedit works, but lacks pretty much everything except …

Software Development python ubuntu
Member Avatar for bumsfeld
0
185
Member Avatar for CoolGamer48

Hey, am I correct in assuming that when you declare a function virtual in a prototype, it is illegal to use the virtual keyword again when you define the function?

Software Development c++
Member Avatar for Prabakar
0
53
Member Avatar for TheWhite

Alright, well, this is my 2nd post so far... My first problem was easily repaired ( I incremented an i instead of j in one of my for loops... lol ). But this problem is a little more, how can I say, not a visual mistake, but a implementation thing... …

Software Development java
Member Avatar for peter_budo
0
79
Member Avatar for alban08

can someone tell me how to add functions to library of devc++? and how to add a new library?

Software Development c
Member Avatar for alban08
0
135
Member Avatar for BORAX

well to start i am a compleate noob to programing and this time iam going to go a bit deeper to something hard for me!!!! maybe so easy to you guys so lets see if can explain my self and get a head star here...please!!! i realy need this to …

Software Development vb.net
Member Avatar for manal
0
100
Member Avatar for daniel88

Hi guys, I posted earlier today and had my problem resolved in record time, which was great as I had been struggling with the final elements of an assignment. Having received a preview automarking I found that I had one small error. Essentially, the read() function which follows takes an …

Software Development c++
Member Avatar for daniel88
0
104
Member Avatar for tondeuse34

Hey guys....I've been doing Python for probably more than 4 months and i have gotten to the point saying to myself "What should i make?" and "How would i do that?" i just don't know where to go know and what to do. I am capable in many things in …

Software Development python
Member Avatar for tondeuse34
0
96
Member Avatar for abdulraqeeb33

hello, i want to cycle through a db table infinite times, ie; if there exists no value(reached end of table) in the result set, i wanna point the cursor to the start again...and it goes on infinite times wat do i add and where package project; import java.io.*; import java.net.*; …

Software Development java
Member Avatar for peter_budo
0
148
Member Avatar for wizard wusa
Member Avatar for ZZucker
0
99
Member Avatar for Moporho

I am trying to switch this if...else statement to a Switch and I can not get the program to calculate. Please help? original if, else [code=cplusplus] #include <iostream> using std::cout; using std::cin; using std::endl; #include <iomanip> using std::setw; int main () { int x, total=21; cout << "Input Number for …

Software Development c++
Member Avatar for Moporho
0
113
Member Avatar for lianaconda

Hi. The assignment is to implement a function using recursion. I can't use any loops whatsoever. The function takes in an array of doubles and the array size, and is supposed to return the position of the smallest element in the array. I've already written some code out for the …

Software Development algorithm c++
0
57
Member Avatar for happimani

Dear All, Iam Using python 2.3,i have pythonpath in environment variables,is it possible to rename Pythonpath because i have to use two path alternatively first is pythonpath and second is PythonPath1 any idea????????? regards Narain

Software Development python
Member Avatar for vegaseat
0
126
Member Avatar for bhagyaR

Hey, Can anyone please point me to a place where I can find all the modules so far developed for python. I am mainly looking for modules that can be used to update excel files. ping machines and send automatic mails though local mail client. Appreciate your help here! Thanks, …

Software Development python
Member Avatar for vegaseat
0
88
Member Avatar for micam

Hi, How can I send right nouse click with python? thanks.

Software Development python
Member Avatar for vegaseat
0
498
Member Avatar for daviddoria

I have some code like this: [code] vector<double> Saved; for(int i = 0; i<10; i++) { if(some condition on i) Saved.push_back(i); } [/code] Then I want to see what order the things were saved... so naturally I do cout << Saved.at(0) << endl << Saved.at(1) << endl; But to my …

Software Development c++
Member Avatar for mitrmkar
0
192
Member Avatar for ceyesuma

[code] String partial = ("SELECT c FROM content AS c WHERE c.artist LIKE \"%" + like + "%\""); [/code] Is there any one that can explain the proceedure to get this query introduced into the persistence unit so it can be run? (netbeans6.1,MySQL,JDescktopApp) Thanks

Software Development java
Member Avatar for ceyesuma
0
103
Member Avatar for En1ro

In Unit1.h private: [ICODE] struct gydytojas { int gydid, amzius, specialyb, telefonas, asmkod; String vardas[25]; String pavarde[35]; String adresas[50]; }; gydytojas gydmas[100];[/ICODE] Now in Unit1.cpp im trying to do simple thing: [ICODE]void __fastcall TForm1::Button18Click(TObject *Sender) { gydytojas.vardas=Edit21->Text; gydytojas.pavarde=Edit22->Text; gydytojas.adresas=Edit24->Text; }[/ICODE] Getting these errors: [C++ Error] Unit1.cpp(172): E2108 Improper use of …

Software Development c++
Member Avatar for En1ro
0
2K
Member Avatar for aabundle

Hello, I have a simple GUI but when i put another Jframe in an action listener it squishes the main page in with the new Jframe, i know this is probably basic but my text book yeilds no result, here is my code. Maybe i am going about the process …

Software Development gui java java-swing
Member Avatar for aabundle
0
216
Member Avatar for wonder_laptop

hello guys, well i dont get it. what does it mean to say we have a 32-bit processor ?!! and why saying 32-bit processor implies that the virtual memory of the process is 2^32? please help

Software Development java
Member Avatar for wonder_laptop
0
132
Member Avatar for baker4

Hi I have been trying for a while to get a toolbar to work with a print function and cannot get it to work. However does anybody know if you can just use a normal button to print the form it is on? If so how?? I have already tried …

Software Development vb.net
Member Avatar for Alekhan
0
125
Member Avatar for daniel88

Hi all, This is my maiden post on not only this forum, but in fact any programming forum so please bear with me. I must say that this question does relate to a piece of homework, but it is the final member function in a series of about 8 and …

Software Development c++
Member Avatar for VernonDozier
0
2K
Member Avatar for EBC

Hi, I'm a beginner in C++. I have a problem with referencing resources between 2 or more files. This is the main cpp code: [code] #include "stack.h" #include <cassert> #include <iostream> using std::cout; using std::endl; int main() { IStack ist; ist.Push(1); } [/code] and the header file: [code] const int …

Software Development c++
Member Avatar for EBC
0
210
Member Avatar for winky

I recently downloaded Visual C++ 2008 express edition, and when I tested it out with a simple "Hello World" program, I got the following error: general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified. After doing some research, I found out that …

Software Development c++
Member Avatar for winky
0
93
Member Avatar for henpecked1

I've been given an assignment to write code for a sphere class. Now the point of this lesson is really formatting I/O, so they've given some member functions for the class. The problem is I don't know what they are all for. I've included them below and what I think …

Software Development c++
Member Avatar for bugmenot
0
152
Member Avatar for sbrown2594

The code below is part of a simple craps game that I am writing for practice. I have the dice rolling down, but I can't get this betting command to work out. The only module that I am really interrested here is the bet1(x) module but I copied the entire …

Software Development python
Member Avatar for woooee
0
118
Member Avatar for Black Magic

Hey, I was just wondering if i could write my C++ code on notepad and run it etc? I am asking this because atm i'm at a community centre and on a computer, but not allowed to download anything, so can i? reply asap please

Software Development c++
Member Avatar for Ancient Dragon
0
250
Member Avatar for macrosoft

i'm getting a problem when using cin and cout, for some odd reason it's like I'm not using a C++ compiler. I'm using Microsoft Visual C++ 6.0 and i tried using a borland compiler as well and i get the same error on several different computers. What in the world …

Software Development c++ microsoft
Member Avatar for togayot
0
455
Member Avatar for arunkp

friends i need to send AT or ATX commands using c language i tried to write the data using biosserialcom() fn to write to serial port in win XP. but it failed .some error camesayin "16bit msdos subsystem error" my question is whether i will be sucessful if i tried …

Software Development c
Member Avatar for jephthah
0
215
Member Avatar for loeto

Write a program which will calculate, for every integer that is being input, a code in the following way first digit multiplied by 3 plus second digit multiplied with the third digit minus fourth digit thus the number 3124(of type int) should generatethe code 7, because 3*3 +1*2 - 4=7. …

Software Development c++
Member Avatar for loeto
0
161
Member Avatar for umeshjaviya

I am a new guy in C. But I have read stuffs about Malloc, Realloc, how to pass pointers to the function... If I am writing this code in single program, it works perfectly...but smart programmmer guide says write in compact form. So with user defined function this is not …

Software Development c
Member Avatar for Prabakar
0
97
Member Avatar for joshmo

I have a small problem with adding some items to my linked list....the code compiles with no errors but when run it doesnt complete...it looks like it is still waiting for some input but i dont know where my loops are going wrong.. [CODE] #include <iostream> using namespace std; struct …

Software Development c++ linked-list
Member Avatar for joshmo
0
61
Member Avatar for William Peek

I am using a client program (VB6) to interact with one or more server ActiveX executibles, also VB6. Everyting works as it sould when the servers are different EXE's. That is, compiled with different Project Names to different File Names. However, I would like to access 2 instances of the …

Software Development client-server visual-basic
Member Avatar for Jx_Man
0
150
Member Avatar for lianaconda

Hi. The idea is to create a base classed called creature with 3 derived classes called phoenix, giant, and centaur. I've already implemented all the functions, but my code still doesn't compile. I get errors that say [code]"error C2664: 'Phoenix::Phoenix' : cannot convert parameter 1 from 'const char [9]' to …

Software Development c++
Member Avatar for lianaconda
0
125
Member Avatar for javauser215

I am receiving and error when trying to compile and cannot seem to figure out why and would appreciate any help. [code] public class Product { private String itemName; // variable that stores the cartridge name private int itemNumber; // variable that stores the item number private int invStock; // …

Software Development java printer
Member Avatar for javauser215
0
3K
Member Avatar for hacker9801

I know the & operator means address-of, but what's it do when in a function prototype? Example: [code=c++]void foo(std::string& str)[/code] or [code=c++]void foo(char& c)[/code] what's the & for in that?

Software Development c++
Member Avatar for VernonDozier
0
107
Member Avatar for knowledgelover

Hi there, I created a setup project , added it to the solution that consists from a windows service, I added the primary output from the serviceName, but when I install the service never show up in the Service manager !!!! Any ideas or even a site that discuss how …

Software Development c#
Member Avatar for majestic0110
0
193
Member Avatar for Black Magic

Hey, I was just thinking and came across this idea and wanted to know if it could be done, say if the user enters 321, my program would output 123, 450, 054 etc etc Could you please show me how this could be achieved thanks.

Software Development c++
Member Avatar for Narue
0
3K
Member Avatar for ChrisP_Buffalo

I have a file with a long list of English verbs and I have a set of search strings; now I want to search through the verbs to find any verb which contains any of the strings as a substring. For example, the verbs "forgotten" and "negotiate" both contain the …

Software Development python
Member Avatar for woooee
0
100
Member Avatar for emilio

i am trying to generate random numbers in a loop i wrote this function [code=syntax] int getRand ( int a , int b ) { static int x = 0 ; if ( x == 0 ) { srand ( time( NULL ) ) ; x++ ; } return a+rand()%(b-a+1); …

Software Development c
Member Avatar for emilio
0
106
Member Avatar for wrichardson530

PosOfSpace = InString(LstStudent.[B]Value[/B], 1, " ") txtStudentId.Text = Mid(LstStudent.[B]Value,[/B] 1, PosOfType - 1) I'm tring to get the studentId to show up in the StudentId text box. This is supposed to be done by double clicking on the student you want process This is in the list called LstStudent. This …

Software Development visual-basic
Member Avatar for selvaganapathy
0
80
Member Avatar for wrichardson530

I made this code to let my user open up my database and see a report. It prints the report, then it will open the access database. I know I'm doing something wrong, i just want to view the reprot called student history. Any advice or corrections tomy code would …

Software Development visual-basic
Member Avatar for wrichardson530
0
165
Member Avatar for fishsqzr

I need to use a BindingSource Filter property to search for names in a string field. That is easy enough, unless the name contains a single quote (apostrophe) such as "O'BRIEN" or similar names. VS Help says special characters should be escaped by enclosing them in square brackets. This works …

Software Development
Member Avatar for fishsqzr
0
103
Member Avatar for bhoot_jb

can anyone tell from where i can download the latest bloodshed dev C++ IDE... my problem is i am not able to access the [url]www.bloodshed.net[/url]... :( so is there any other link to download it??

Software Development c++ ide
Member Avatar for bhoot_jb
0
156
Member Avatar for musicmancanora4

Hey guys with regards to <xsl:value-of select="Catalog/Product_Type/Name"> how would i put that in a <h1> html tag which is defined in my css file. [code]<h1><xsl:value-of select="Catalog/Product_Type/Name"></h1>[/code] i get errors in xalan when i do that? The results of the value-of select i want it to be in a different font …

Software Development html-css xml
0
96
Member Avatar for Mackjan

Hi I have a function which rand digit between a and b. it maybe 2,3 or more digits. I want to save these digits in a list and then use them in another part of my program. How can I do it? [code] def dela(x): sum=0 while sum <x: b= …

Software Development python
Member Avatar for Mackjan
0
85
Member Avatar for jmines

This is my program of stacks. The problem is this that it does not show output. whenever I run the program, the output screen flashes and nothing else happens. (using Dev-C++) Don't know what's the problem with it. [CODE] //****************************STACKS******************************** //===============Stacks using linked list(Arrays)================= #include<iostream> using namespace std; int avail=-1, …

Software Development c++ linked-list
Member Avatar for jmines
0
120
Member Avatar for choudhuryshouvi

Hello Folks, I'm trying to write a program though which I can access my system registry. Both reading and writing actions have been encapsulated. Among these I have successfully done with reading a key value from my registry. But the storm arises when I make my move to write to …

Software Development microsoft-access
Member Avatar for choudhuryshouvi
0
223
Member Avatar for mofoparrot

Hey guys, I have been working on this program for my entire semester. I got it down to do what I want I think... except when I compile it, I get no errors or warnings (using Dev) and when I execute it runs through half of it and it stops …

Software Development c++ file-stream ios
Member Avatar for mofoparrot
0
156
Member Avatar for saurabh.verma

hi, i am basically adding files to my listview through this code [code] For each n as string in my.computer.filesystem.getdirectories("C:\Testing\") Listview1.items.add(n,Imagelist1.images.count - 1) Next [/code] so all the files inside testing folder show up on the listview the problem is that they all show up but they show up with …

Software Development listview visual-basic
Member Avatar for saurabh.verma
0
104

The End.