132,726 Archived Topics
Remove Filter ![]() | |
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 … | |
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++ | |
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 | |
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++ | |
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. | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
![]() | 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 |
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++ | |
| |
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++ | |
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++ | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
![]() | ..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 ![]() |
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++ | |
[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 | |
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++ | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 ![]() | |
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 ![]() | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 |
The End.