132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Chuckleluck

Hi, I'm learning to use the Simple, Fast, Multimedia Library (or SFML), and I was going through the tutorials on their website. The first one (found [URL="http://www.sfml-dev.org/tutorials/1.6/window-window.php"]here[/URL]) said the following: [QUOTE]Under Windows operating systems, you may have created a "Windows Application" project, especially if don't want the console to show …

Software Development api c++ microsoft
Member Avatar for thines01
0
2K
Member Avatar for fishsticks1907

Hello, i need help adding to a class member. I want to make a deposit and add $20 to the class member, however, it doesn't change the value of the class member when i do so. example: $200 + $20 = $200 And, i assume the other methods won't work …

Software Development c++
Member Avatar for thines01
0
193
Member Avatar for wanguard

Here is a program I found [URL="http://www.cs.bgu.ac.il/~omri/Humor/ObfsC.html"]here[/URL] [code] #include <stdio.h> main(t,_,a)char *a;{return!0<t?t<3?main(-79,-13,a+main(-87,1-_, main(-86,0,a+1)+a)):1,t<_?main(t+1,_,a):3,main(-94,-27+t,a)&&t==2?_<13? main(2,_+1,"%s %d %d\n"):9:16:t<0?t<-72?main(_,t, "@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l+,/n{n+,/+#n+,/#\ ;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l \ q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# \ ){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n'wk nw' \ iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c \ ;;{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')# \ }'+}##(!!/") :t<-50?_==*a?putchar(31[a]):main(-65,_,a+1):main((*a=='/')+t,_,a+1) :0<t?main(2,2,"%s"):*a=='/'||main(0,main(-61,*a, "!ek;dc i@bK'(q)-[w]*%n+r3#l,{}:\nuwloca-O;m .vpbks,fxntdCeghiry"),a+1);} [/code] Since I …

Software Development c
Member Avatar for wanguard
0
217
Member Avatar for gwjunkie

I'm writing a program in C++ to convert a user-submitted string into a postfix expression and then evaluate it. The function where the string is tokenized into operands, operators and such looks like this: [CODE] void Calc::tokenize(char * s){ cout << s << endl; int i = 0; char * …

Software Development c++
Member Avatar for gwjunkie
0
103
Member Avatar for swissknife007

Can please someone give and explain the algorithm and logic of checking if a given tree is a complete binary tree. Fields available for a node are left and right child and info. Thanks.

Software Development algorithm c
Member Avatar for Narue
0
508
Member Avatar for skran

Hi all! I am writting beacause I desperately want your help.. I want to connect 3 comboboxes. I have a table which contains Streetnames, Post Codes and Municipalities. I want to choose the Streetname from the first combobox something that I have done. The second Combobox I want to display …

Software Development vb.net
Member Avatar for Smith5646
0
1K
Member Avatar for branflake

I'm trying to figure out how to use JOptionPane to determine which deduction someone will receive. S - Single and M - Married. I just need to use the first letter of the input though. [CODE] public double calcinsDeduct() { double insDeduct; if (status.startsWith(s)) insDeduct = 50.00; else if (status.startsWith(m)) …

Software Development java
Member Avatar for stultuske
0
11K
Member Avatar for boboi haokip

I have a class name string. And a user input is read i.e a message or string. Get the text message(i.e.string) from the user and convert the message into hexadecimal code and binary code. Then message is split into two parts. One is used as message end other one is …

Software Development java
Member Avatar for boboi haokip
0
140
Member Avatar for hearty

hi, I'm a beginner in Java and new to NetBeans. I have a project to do where I have to use NetBeans to write a hotel program. the questions is displayed like this > One of your friends is working behind a room reservation counter helping customers to determine the …

Software Development java java-netbeans operating-system
Member Avatar for NormR1
0
136
Member Avatar for vammy

Hi Guys, Im trying to update a datagrid and a text box value in access database. both shld be saved in the same row simultaneously.,unfortunately its not happening. they were gettign saved in a different rows. PLEASE help. [CODE] conn.Open() sqlQRY = "Insert Into tblPlot(SurveyNo)" sqlQRY = sqlQRY & "Values" …

Software Development vb.net
Member Avatar for anusha.shivni
0
120
Member Avatar for Pirouette

Hello everyone. I've a bit of trouble with my code. I'm suppose to create a program that will allow the user to input as many integers as they desire. When the user is done, the program will calculate the alternating sum. The program will then display the equation along with …

Software Development java
Member Avatar for zeroliken
0
4K
Member Avatar for pantoeflou

Hi I understand how to create a button in runtime in vb.net my code to do this is: ' create button Dim btn As New Button ' set some button properties btn.Text = "go" btn.Top = 45 btn.Left = 190 'add button to form Me.Controls.Add(btn) I read on a forum …

Software Development vb.net
Member Avatar for hscoder
0
1K
Member Avatar for karmstrong

So I am getting the below error messages with seem to do with vtable. I would assume this is in relation to Virtual functions. I'm not sure what i'm doing wrong here or even the correct corse of action. HELP :-) ? Ld /Users/krisarmstrong/Library/Developer/Xcode/DerivedData/CS215Lab4-cyvyxpagepfuqhdusjdgbpjctcis/Build/Products/Debug/CS215Lab4 normal x86_64 cd /Users/krisarmstrong/Documents/XCodeProjects/CS215Lab4 setenv MACOSX_DEPLOYMENT_TARGET …

Software Development c++
Member Avatar for vijayan121
0
709
Member Avatar for sonia sardana

I want to after clicking on button2,after that if i click on button1 then msg is not displayed [code] Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MsgBox("sonia") End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click RemoveHandler …

Software Development vb.net
Member Avatar for hscoder
0
220
Member Avatar for skran

I have achieve to populate my combobox from sql and from this combobox to populate a textbox but now I have to do something more complicated.I would like to populate a combobox from an other combobox choice. And what i mean is that I have a table with Streenames and …

Software Development vb.net
Member Avatar for skran
0
225
Member Avatar for vammy

Hi Guys, I need some urgent help.. My requirement is to create dynamic text boxes during run time. it shld b like this: when i click a button a text box shld b created and upon entering a value it shld be saved in access database. appreciare ur help and …

Software Development vb.net
Member Avatar for vammy
0
231
Member Avatar for jnmisa

Hello, I am a New leaner, the Book, am using give an Assignment, and I have try to work it out. In the process, I Run to little Issue, It is all about Replacing Old- Word with New-Word.... But if the Old word is empty it will bring an error …

Software Development
Member Avatar for jnmisa
0
989
Member Avatar for boyz
Member Avatar for personalJ3ZUS
0
201
Member Avatar for maggoteer

I've been looking around the internet and I haven't really found any solution to my problem. Is there a way to perform a function when a user closes the form either by pressing the X button in the top right hand corner? I am using a database that saves what …

Software Development vb.net
Member Avatar for maggoteer
0
173
Member Avatar for theonebit

Hi, I would like some insigth or help on the following issue that i am facing. I am building an empty validation module. where i validate my bound item whether they are empty or or not before save. I have a tab control with the said bound items. The thing …

Software Development programming-construct vb.net
0
241
Member Avatar for nssltd

Hello! Well then i am currently developing a web browser project based on Cef Sharp. It's basically chromium for C# projects. Anyway its very loosely based on it. I'd like some help too be able to incorporate Flash Player into this project. Whenever i go to youtube as a test …

Software Development c# flash web-browser
Member Avatar for Ketsuekiame
0
205
Member Avatar for stereomatching

Sometimes, when I want to move the project from path A:/B/C to path A:B/C/D/E, the relative path of the project have to be changed. I think I could write a small program to deduce the relative path after changed, it would be better if I could change the "Additional manipulate …

Software Development c++
Member Avatar for stereomatching
0
195
Member Avatar for jitendra_tcil

i want to make a chat box in C# plz help me[CODE][/CODE]

Software Development c#
Member Avatar for Panathinaikos22
0
106
Member Avatar for eoop.org

Hi, how to use a TreeView as a menu for making form visible. Eksampel: when i double click at a child node then i want something to happen. but how? plizzz help <3

Software Development
Member Avatar for Panathinaikos22
0
100
Member Avatar for JayBaron

Making a chutes and ladder game for my CS2010 class and go it knocked out pretty quick. So I thought everything was running smoothly until I tried to run the program. The problem has to do something about my "winner" function, but I've gone over my teachers notes and cannot …

Software Development c++
Member Avatar for WaltP
0
656
Member Avatar for amgad habeeb

hello guys grade book *write a program that will calculate the average of an unknown number of students. *your program should validate the grades to be between 0 and 100. *there are 5 grades to be entered and averaged . *the program should enter the grades using a for loop …

Software Development c++
Member Avatar for amgad habeeb
0
97
Member Avatar for newbie_jar

I hope you guys can help me out... i have a little applet which caused me lot of problems. i'm new to java and i hardly managed to put all the code together, what does the script? here: users visit my website, and from their account they can upgrade a …

Software Development java java-jsp open-source windows-vista
Member Avatar for masijade
0
3K
Member Avatar for sknn

Hello I've been wondering how to get past the whole "program crashes when user inputs the wrong data type". After extensive amount of google searches I found out that you could use !() as an argument in a loop(or if statement) to avoid that. However by doing that I encountered …

Software Development c
Member Avatar for sknn
0
142
Member Avatar for efigen

I have been working on this assignment, and it says i have to sort a 2d record array based on the type of record so if its an id its an int and if a name its a string, my problem is when i begin using my bubble sort, it …

Software Development c++
Member Avatar for efigen
0
512
Member Avatar for skylinedrifter

Was doing this project for school, but i cant get it to run, it's a telephone directory project here's the code [CODE]#include<iostream> #include<fstream> #include<string> #include<iomanip> using namespace std; char getChoice() { char choice; cout<<endl<<"Do you want to look for another? "; cin>>choice; return choice; } void getNames(string &strFName, string &strLName) …

Software Development c++
Member Avatar for skylinedrifter
0
168
Member Avatar for JRCharlie

Hi all I have a RDCL Report called Report1.RDCL. In this report I put an image box named logo the select image Source is set to EXTERNAL and in the use this image I have Parameters!LogoPath.Value. I would like the users to be able to pick their own logo. How …

Software Development vb.net
Member Avatar for VIPER5646
0
220
Member Avatar for draven07

..uhm...hello...i'm new to python programming and I really want to explore more about this... ...i just want to know what is the best compiler I can use for this...

Software Development python
Member Avatar for draven07
0
248
Member Avatar for GhostMonkey

Hey, I've got a list that takes in the current co-ordinates from a board. I'm trying to sort that list using the Manhattan distance heuristic but I'm not sure how to go about it. My list is simply [CODE] list<int> list1;[/CODE] With the formula by which it should be sorted …

Software Development c++
Member Avatar for raptr_dflo
0
108
Member Avatar for pnoylover

[CODE]#include<iostream> #include<string> #include<conio.h> using namespace std; struct node{ int num,ages; string name,skills; struct node *link; }; typedef struct node *nodepointer; nodepointer add(nodepointer &head, int nu, int age); void str(nodepointer &head, string na, string ski); void DeleteFront(nodepointer &head); void display(nodepointer head); int main(){ nodepointer head = NULL; int c,nu,age; string na,ski; …

Software Development c++ linked-list
Member Avatar for raptr_dflo
0
202
Member Avatar for phorce

Hello wonder if you could help me please.. Basically I'm trying to implement a script where it searches through a file and sees the most popular word.. I've got it doing it like this: [CODE] Squence: 0 0 Squence: 1 0 Squence: 2 0 Squence: 3 0 Squence: 4 0 …

Software Development c++
Member Avatar for raptr_dflo
0
139
Member Avatar for Rokie

Hi everyone, Im using VS2008 and getting the following error message when I try to build the program which I have so far, I've looked around on the internet to try to understand this error but I'm still very confused any help you can offer me will be greatly appreshiated, …

Software Development c++
Member Avatar for raptr_dflo
0
382
Member Avatar for zeroliken

The program should change a sentence to pig Latin. [B]Rules[B][/B][/B] A word starting with a vowel should start with a capital letter and the rest with small letters and end with "way". If a word starts with a consonant the first letter will move to the last until it starts …

Software Development c
Member Avatar for zeroliken
0
501
Member Avatar for Xcelled194

Hi guys, I'm fairly new to C++, though I have several years of experience with C#. I've made program with XAML and C++. Part of the program's job is to download several hundred 10mb files from an FTP patch server. I've been using the .NET FtpWebRequest for this task, and …

Software Development c++
Member Avatar for L7Sqr
0
581
Member Avatar for javaNooblet

Hi All, If I read in from a file and populate an array with its data(all strings), how can I control the way it prints(to the console for example).Right now it just prints a huge long line in the console of all its contents. I figure I will have to …

Software Development java
Member Avatar for stultuske
0
268
Member Avatar for crazymidget01

I am trying to write a program to perform matrix operations. I want input the two matrices from a file. The file has the format: 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 * 0 9 8 7 6 5 4 3 …

Software Development file-system java
Member Avatar for thines01
0
138
Member Avatar for shootingrubber

Hello, I am writing a Tic Tac Toe java program, and it's almost all working; however, I noticed a bug in it recently and I cannot find the source of the problem. Basically the game has a New Game option in the file menu, and the first time it works …

Software Development gui java open-source
Member Avatar for shootingrubber
0
190
Member Avatar for th3b3n

I have a basic understanding of how to create A(1) check box, and repeating that method over and over again to create more. However, this makes for messy as shit code, plus I don't feel like doing this method 30 times to create the needed 30 check boxes. So I …

Software Development java
Member Avatar for hfx642
0
128
Member Avatar for lbgladson

Where would I need to save a picture on my computer to be able to use it as an icon on a button in a program?

Software Development java
Member Avatar for hfx642
0
90
Member Avatar for bigredaltoid

Hey guys, I need to print a dictionary from a text file and than print it again with the last two values updated in each row. The text file appears as so: 12345678 Joe Dokes IT 30 95 87654321 Sally Sue ISYS 50 87 34876293 Bo Burnham MATH 60 78 …

Software Development python
Member Avatar for bigredaltoid
0
135
Member Avatar for phorce

Hello, I need to search a char array, for a particular word... E.g. [code] char * search; char arr[10] = {'b', 'c', 'a', 't', 'h', 'e', 'p', 'h'}; string words[1] = {"the"}; search = strstr (alphabet, words); [/code] But it doesn't work... Any ideas what the problem could be? Thanks …

Software Development c++
Member Avatar for thines01
0
80
Member Avatar for shizzle08

Hi guys ok guys this is my problem my DataGridView1 does not show the data on my testdb.mdb i need to fix this first before i continue on adding records on my db i very much appreciate any one who can help me with this. [CODE]Imports System.Data.OleDb Public Class Customer …

Software Development dataset open-source vb.net
Member Avatar for bluehangook629
0
145
Member Avatar for thetechlady21

I am having trouble with this code and realizing that my flags are not work. I am referring to a list box with US states inside. See my code below and tell me what I am doing wrong. I can not output the state with first two letters. A simple …

Software Development seo visual-basic
Member Avatar for WaltP
0
181
Member Avatar for JRDJ12

Hey all, I have an assignment that was assigned for the week that I could use some help on (not asking for someone to do it for me, just help with the step-by-step). Below is the requirements: 1) Create a new Java Project named whatever you'd like in your existing …

Software Development algorithm java programming-construct
Member Avatar for stultuske
0
201
Member Avatar for icebirdy

For example, I have 2 classes A[x,y,z] and B[a,b] and one vector for each class. I want to read a text file containing data with my two classes For example the text file may contain: A [1,2,3] B [1,2] A [4,5,6] How do i read in this file such that …

Software Development c++ file-system
Member Avatar for mrnutty
0
150
Member Avatar for Paul Norris

This question is a bit academic now as my contract at this place is coming rapidly to a close. But for future reference, I'd be very interested in the answer. We're talking about .Net 2.0 and Visual Studio 2005. Don't limit your responses to this platform though; I'm interested in …

Software Development vb.net visual-studio
Member Avatar for adam_k
0
252

The End.