132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Gait

Which is the best C++ IDE for windows that is free and where can i get it?I have tried downloading Code Blocks and Dev C++ but none of them works.

Software Development c++ ide
Member Avatar for hystaspes
0
147
Member Avatar for serkan sendur

I have never found a logical explanation to make my mind about using interfaces in c#. Does any one know a robust benefit of using interfaces? please explain to me in a structural manner.

Software Development
Member Avatar for Sam.ars
0
1K
Member Avatar for buster2209

I have the following code which is used to get various details about wireless networks; [CODE] // Lists all networks ssid, signal stregth, availability, & security Wlan.WlanAvailableNetwork[] networks = wlanIface.GetAvailableNetworkList(0); foreach (Wlan.WlanAvailableNetwork network in networks) listBox1.Items.Add(GetStringForSSID(network.dot11Ssid)); foreach (Wlan.WlanAvailableNetwork network in networks) listBox2.Items.Add(network.wlanSignalQuality + "%"); foreach (Wlan.WlanAvailableNetwork network in networks) listBox3.Items.Add(network.wlanNotConnectableReason); …

Software Development listview
Member Avatar for PsychoCoder
0
151
Member Avatar for skamranj

Hi, I am having some problem using nested if else in C# project. I have no idea why it is always executing the Save() function. I don't want to execute the save() function if the (dr.Read()) is true. Here is the code: [code=c] protected void BtnSave_Click1(object sender, EventArgs e) { …

Software Development perl
Member Avatar for skamranj
0
140
Member Avatar for dany12

First of all I want to thank the guys form this forum for there work and help that I found more then use full an different occasions. Here is my c programing exercise. Write a c program that shows all the products tahat have the price over 10. Any help …

Software Development c
Member Avatar for dany12
0
133
Member Avatar for glenak

Ok, I've never seen a while loop like this. Please can someone help explain this: [CODE]CipherInputStream cis = new CipherInputStream(new FileInputStream(new File("plaintext.txt")),cipher); FileOutputStream fos = new FileOutputStream(new File("ciphertext.txt")); byte[] cipherTextBytes = new byte[8]; int i = 0; while((i=cis.read(cipherTextBytes))!= -1) { fos.write(cipherTextBytes,0,i); }[/CODE] Ignore the whole CipherInputStream object if you don't …

Software Development java
Member Avatar for JamesCherrill
0
119
Member Avatar for laserlars

Hi! I'm pretty new to C and have to write something that handles strings. I have some experience with python and C++ but i find C string handling pretty strange/ugly. Is the following code really the best way to put together a string containing multiple strings? [CODE] strcat(string1, string2); strcat(string1, …

Software Development c
Member Avatar for laserlars
0
86
Member Avatar for cscotty

Hello all. I am a new c++ programmer and I am having a lot of fun with it. I just wrote this programming to help with some American History. I've read tutorials and have learned enough to write this program. I am dissapointed in my code however. I noticed that …

Software Development c++
Member Avatar for jack2423
0
517
Member Avatar for Phenneger

I am really having trouble getting my app depolyed! I have within it several Crystal Reports utilizing the CR viewer, but when I package everything it won't work on the machine is it installed on. I get an error that reports a problem with cyrstal! I tried unistalling and reinstalling …

Software Development vb.net
Member Avatar for PsychoCoder
0
109
Member Avatar for smcguffee

I'm sort of duplicating this post because it requested that I start a new thread because I was replying to an old one, but here is a statement that prompted my questions: "Accessors should be const methods at the very least, because the object state isn't changed in the body." …

Software Development c++
Member Avatar for smcguffee
0
126
Member Avatar for challarao

I am a B.Tech 1st year student.I am unable to understand the program given below.Please any one explain me.Any help would be appreciated. This program is for printing longest line of given input lines.. [#include <stdio.h> #define MAXLINE 1000 /* maximum input line length */ int getlines(char line[], int maxline); …

Software Development c
Member Avatar for challarao
0
2K
Member Avatar for therstonsplace

so i need some direction in c++ for grabbing a jpg file sending it to a text file that i can edit to manipulate pixels and send back to a jpg... i have been googling for some time and im having a hard time... just some direction will do.. cuz …

Software Development c++
Member Avatar for therstonsplace
0
136
Member Avatar for tennis

[CODE]a= a >0 ? a : 0;[/CODE] what does this mean? thanks

Software Development c++
Member Avatar for DavidRogers
0
164
Member Avatar for rom87

Driving me crazy keep getting "this line contains a '{' which has not yet been matched on several lines even though i cant find where there missing. thanks main.cpp [CODE] #include <iostream> #include <string> #include "USER.h" using namespace std; string Get_password(); string Get_username(); void Open_account_sucess(); void Error(); void Exit(); void …

Software Development c++
Member Avatar for Kanoisa
0
90
Member Avatar for spankboy11

Hi there, I'm having trouble dealing with dynamic arrays and was wondering if someone could tell me where the problem lies. I'm new to C++. Basically, in the following code, the dynamic array of Fuzzy objects works fine. But when you uncomment out the bit that actually assigns values to …

Software Development c++
Member Avatar for Kanoisa
0
247
Member Avatar for JamesPH

guys any idea of this equivalent c loops into pascal: for (sum=0,i=0,j=0;i<10;i++,j+=2) sum+=i+j; Thank you.. james

Software Development pascal
Member Avatar for ez4u2c
0
122
Member Avatar for ghosh22

Hii everybody!! I am a new user of Perl. I have a small problem here: I have got a tab delimited text file containing a list of chemicals and their properties. Now I would like to create a new column where the program should first scan the whole file and …

Software Development perl
Member Avatar for ghosh22
0
119
Member Avatar for Axelro

Hello, How can I control the representation of my exponential number? 4.840000E+02 need to define how many numbers I want after the point? Is there a way to define it when I create it from integer? Thank you very much

Software Development python
Member Avatar for Axelro
0
217
Member Avatar for chuck577

Hello all, I have an xml file with the information below: [CODE] <?xml version="1.0" encoding="utf-8" ?> <ServerNames> <Name>dfwnbonner1</Name> </ServerNames> [/CODE] I am trying to get the Name of a server into a listview. This works fine with the above xml but as soon as I add another server name in …

Software Development dataset listview xml
Member Avatar for chuck577
0
217
Member Avatar for prem2

Hi, I have executed the sample package program and it executes fine in some conditions.I have a doubt in my program . My directory structure is:/javaprograms/world/HelloWorld.java A folder name :world A java filename:HelloWorld.java [code] package world; import java.io.*; import java.util.*; public class HelloWorld{ public static void main(String args[])throws IOException{ System.out.println("Package …

Software Development java
Member Avatar for prem2
0
506
Member Avatar for ^Y^ nobody ^Y^

Hi, I search everywhere and i didn't found anything good. Do you know how to search a string inside a .txt file ?? Like, this is a text file: -------------------------- i love mc donalds food i hate my brother i want a answer a good answer -------------------------- How can i …

Software Development c++
Member Avatar for fire_
0
356
Member Avatar for sam1

Hi, First of all it is not home work or anything lol, creating this project just for fun of it and want to learn more. Anyway, I have decided to create a dictionary from english to my language(farsi). So if I have a textbox for user to enter text and …

Software Development
Member Avatar for PierlucSS
0
95
Member Avatar for boiishuvo

That is a stack program - I tried to change from integers to characters so when you enter a single char of a-z. I ran the program then it displayed shown below: Enter a number: <EOF> to stop: a Enter a number: <EOF> to stop: Enter a number: <EOF> to …

Software Development c
Member Avatar for Adak
0
133
Member Avatar for trihaitran

This is a really simple question but it's been stumping me for a while. I want to open a file that is in the same directory as the .py script, but I want to specify that directory without using a universal path. filepath1 = '/Users/username/Documents/Python/TC/TC cedict final.txt' file = open(filepath1, …

Software Development python
Member Avatar for dev.vini
0
735
Member Avatar for Axelro

Hello, My quaestion is how to convert an integer to an exponential number i.e. 484.000E-2? thank you very much

Software Development python
Member Avatar for Axelro
0
279
Member Avatar for NH1

I need to know how to round to the nearest quarter and tenth. Right now i am taking to times finding the difference and then trying to round to the nearest quarter or tenth. Which ever i choose. I have this for code. I made a class to call, In …

Software Development gui
Member Avatar for NH1
0
146
Member Avatar for johnbryle

go0d day every0ne.. ..Can you please help me create a 'Picture Puzzle' using GUI.. its just like playing a picture puzzle like we d0, it just like this.. it has a pieces of scrambled pictures that you will arrange it.. it has a 0ne empty block to be able for …

Software Development gui java puzzle
Member Avatar for johnbryle
0
107
Member Avatar for deathsandwich

I am fairly new to Haskell and have been experimenting with data and class declarations. I have been trying to do this: [CODE=Haskell]data Fire = Burn | Ember data Water = Bubble | WaterGun class Elements a instance Elements Fire instance Elements Water data Elemental = Elemental { name :: …

Software Development
0
91
Member Avatar for corby

can someone help me with these compiler errors? im not sure how to fix them. intset.cpp:16: error: prototype for âIntegerSet::IntegerSet(int*)â does not matc intset.h:6: error: candidates are: IntegerSet::IntegerSet(const IntegerSet&) intset.h:9: error: IntegerSet::IntegerSet(int) intset.cpp:7: error: IntegerSet::IntegerSet() main.cpp: In function âint main()â: main.cpp:36: error: invalid conversion from âint*â to âintâ main.cpp:36: error: …

Software Development c++
Member Avatar for Ancient Dragon
0
315
Member Avatar for danholding

hi there i need to collect the 6 latest backup files from a folder every day and currently working on a script to do this for me so far i have managed to pull the 6 latest files as shown in code below but the problem i have is most …

Software Development python
Member Avatar for danholding
0
114
Member Avatar for sbrohee

Hi everybody, I think this question will be kind of stupid for you ... but I am fighting with since yesterday evening. I have a class Test defined as such in the hpp file (Test.hpp) [CODE] #include <iostream> #include <vector> using namespace std; class Test { public: Test(); static const …

Software Development c++
Member Avatar for sbrohee
0
428
Member Avatar for cathgodarve

[TEX]hey there, can you help me with something. I'm supposed to get data from a single text file and use it on 3 different jTextField. Then if I hit a save button, the data from the textfields will overwrite the existing data of the text file. Unfortunately, I can't make, …

Software Development java
Member Avatar for javaAddict
0
265
Member Avatar for johnbryle

hello every One.. ..can any0ne help me create a 'picture puzzle' using GUI.. OOP'. ..ur answerz r highLy apPrecited.. thankz have a nice day ahead'

Software Development gui java oop puzzle
Member Avatar for johnbryle
0
161
Member Avatar for tedtdu

I need to parse XML documents without parsing libraries, that is, just create one of myself. E.g. input: [CODE]<aa><bb>H</bb></aa>[/CODE] I have to get rid of tags and show, if any, errors(mismatching tag etc). Any suggestion please. Thanks in advance!!

Software Development java xml
Member Avatar for NormR1
0
210
Member Avatar for wantai

Hello guys, I am new here. I have been practicing programming in C as I am going back to school. The program below is supposed to be really simple. It would help you calculate the factorial of a number. But I don't know why I can't get the scanf function …

Software Development c
Member Avatar for Adak
0
102
Member Avatar for hazeeel

Hi all, I need to do a translation using 2D arrays for my Superposition algorithm. Translation: I plan to use the CA(Alpha carbon) as my invariant point which is usually the 2nd line in the pdb.txt file. So how go about doing that? Must I use an orthogonal matrix? Or …

Software Development algorithm java
Member Avatar for NormR1
0
198
Member Avatar for fire_

Hi. I need program wich will start other program (for example notepad.exe) and if notepad.exe will exit my program will start it again. How can i get info about process state and put it into variable to use with if? I'm beginner at C++ so please write all headers witch …

Software Development c++
Member Avatar for fire_
0
161
Member Avatar for punnoosepj

i have created a exe from A FORM IN C#. I want to get that program to start running from the boot time.So how do i register my code to run it from boot time.

Software Development
Member Avatar for Resnymph
0
81
Member Avatar for Prashant20

Hi.. I am developing an application which requires a folder to be created in the project folder. I am using the following code to create a folder [CODE]string path="D:\\SchoolProject\\Image Folder"; System.IO.Directory.CreateDirectory(@path);[/CODE] Now I want that the folder should be created in the folder where the user is installing the application. …

Software Development
Member Avatar for Prashant20
0
113
Member Avatar for zoro007

Hello, I have problem with arithmetic in python when use it like this code [CODE]#!/usr/bin/python AA = open("a.txt").readline() print AA BB = 100 print BB + AA[/CODE] Appear to me this error : Traceback (most recent call last): File "aa.py", line 6, in ? print BB + AA TypeError: unsupported …

Software Development python
Member Avatar for zoro007
0
172
Member Avatar for drake10k

Hello, I am trying to create an app that allows the user take a screenshot of a portion of the screen that he selects with a rectangle. I've tried following several tutorials but I did not managed to make the rectangle appear. The best I could do was to take …

Software Development
Member Avatar for drake10k
0
305
Member Avatar for naxysch

Hi what i am trying to do here is highlight a particular cell in a table using a custom cell renderer. And by the way this is my first cell renderer so i am really not sure what to do! ok now here is the renderer I have written and …

Software Development java
Member Avatar for naxysch
0
2K
Member Avatar for h612

Hello, i've a server and client code in which the error i'm getting is: on deserialization- but when i checked the byte[] length after serialization that i send they are 1550, and then over the tcpclient when i received the byte[] it was 1448 in length... any help or suggestion …

Software Development client-server dataset file-stream tcp-udp
Member Avatar for h_Nick1981
0
473
Member Avatar for randyson

i m new user in visual studio 2008.i want clear information to work with this topic..

Software Development image vb.net visual-studio
Member Avatar for Sura34
0
62
Member Avatar for hazeeel

Hi all! I really really need your advice here! So please do reply me. Your help is greatly appreciated!! I need to do a translation here: X Y Z -3.621 15.574 14.908 (file1 - 2nd row) -3.441 15.678 14.859 (file2 - 2nd row) I need to move file 2 coordinates …

Software Development java
Member Avatar for javaAddict
0
106
Member Avatar for emchom

i am trying to create a program that uses * to make triangles depending on how big the user wishes to make them. This is the code i have so far however have no idea where to go from here.. can anyone help?? thankyou [CODE] def triangle(): totalRows = int(eval(input("Please …

Software Development python
Member Avatar for TrustyTony
0
244
Member Avatar for glenak

If there's anyone who knows a thing or two about this, your help would be much appreciated. This is a code I'm working on: [CODE] try { //ask user for short password System.out.print("Enter a password: "); //read in a character at a time, putting them into the buffer while((buf[bufPos++] = …

Software Development encryption java
Member Avatar for javaAddict
0
5K
Member Avatar for pdoratis

Hello there, Kindly seek your help with a C programming language program that: 1 Reads reads and modify a text fine called mydata.txt 2 In txt file, we must enter the following data : name surname telephone number like this: John West 6976688742 3 The program should be able to …

Software Development c file-system
Member Avatar for challarao
0
1K
Member Avatar for dolly_olaide

Hello, Can someone please help me with this problem.:( I am trying to openFileDialog in VisualC++, and I want to load an image through cvLoadImage, but I'm getting error that it cannot just convert [code] error C2664: 'cvLoadImage' : cannot convert parameter 1 from 'System::String ^' to 'const char *' …

Software Development c++
Member Avatar for dolly_olaide
0
129
Member Avatar for andrewtrench

Hi, all. I'm writing a little GUI thing to allow a user to specify variables in an xml file. I am battling to work out how to return all the .get() values from the Entry widgets back to a main application. The GUI is done as a function as the …

Software Development gui python tkinter xml
Member Avatar for andrewtrench
0
2K

The End.