132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for noey699

First of all I would like to point out that all my values are correct in boxes[5][4] which contains the two x and y values needed for each box. boxes[0][0] and boxes[0][1] are the x and y value for the top left of the rectangle. boxes[0][2] and boxes[0][3] are the …

Software Development c++
Member Avatar for noey699
0
139
Member Avatar for Gerbilkit

Alright I admit, I hate AWK. Heck even my C++ class is making more sense at the moment. I have a strong suspicion that this is a language I will learn and never use again after this class, as everything else seems better/more intuitive. But maybe that's just me. I'm …

Software Development shell-scripting
Member Avatar for Aia
0
115
Member Avatar for ttuck

I am no good with programming. I am only taking it because I have to. I am majoring in Business Information Technology with Computer Network Admin. I have yet to figure out why I have to take programming if I am not going to really need it. Anyhow, I am …

Software Development java
Member Avatar for mrnutty
0
2K
Member Avatar for Shinedevil

Ok, I'm completely stumped. I heard that allegro was pretty cool. So I wanted to try it... you don't have to read this { Now here is my story over the past 48 hours... I downloaded all these things for allegro like version 4.2 or something like that, then tried …

Software Development c++
0
117
Member Avatar for xfrolox

Ok i Got the Form1 and the Dialog3 i can save the trackbar1.value but when i save and close and open the application in the dialog3 says the value of the trackbar1 but the form1 opacity dont save :S ----- Button1 to save ----- Button1: My.Settings.TaxiTransparency = TrackBar1.Value My.Settings.Save() Dialog3_Load: …

Software Development vb.net
Member Avatar for xfrolox
0
152
Member Avatar for OldQBasicer

I put some variable declarations in the module of my project. Of the six variables, two of them remained unavailable to the code on the form... I got an error message. Those two, which are within a FOR...NEXT loop have to be declared in the form code for the thing …

Software Development vb.net
Member Avatar for OldQBasicer
0
197
Member Avatar for supun24

Hi All, I need to retrieve data from database to Listbox. [QUOTE] Ex: Database Fields: IndexID, Name, Value Sample Values: IndexID: 145214 Name: HNB Limited Value: 5.1 IndexID: 4587455 Name: HSBC PLC Value: 7.88 So.. I need to put it in Listbox Like follows (Data count can be large amount) …

Software Development vb.net
Member Avatar for TomW
0
210
Member Avatar for sanch01r

Hey guys, I am needing to find out the expiration date of a users password using the LDAP attribute "pwdlastset", I am able to retrieve the date of the last password reset. The password expiration date should be exactly 90 days from the "pwdlastset" value. For some reason I am …

Software Development
Member Avatar for DdoubleD
0
1K
Member Avatar for Lida_pink

How can I check whether the first and last letter of a string are same or not? And if yes, a message should be shown using MsgBox. Thanks in advance, Lida

Software Development visual-basic
Member Avatar for vb5prgrmr
0
132
Member Avatar for mejohnm

I cannot get my array to convert to int. I tried some ways but always ran into errors. Here is my program as it stands now. Can anyone give me some pointers??? [code] using System; using System.Collections.Generic; using System.Collections; using System.Linq; using System.Text; using System.IO; namespace sortingarray { class Program …

Software Development seo visual-studio
Member Avatar for mejohnm
0
167
Member Avatar for XiaO yuEn

Write a program that input number of students and determine smallest classroom that can accomodate those students. A sample run : Enter number of students: 79 Classroom: B

Software Development c++
Member Avatar for XiaO yuEn
0
88
Member Avatar for G_buchCSC

This is my first time looking at anything in Pep 8 machine language and i was wondering if someone could help me understand how to do these problems . I am supposed to find the output for each program. I know the answer for the first one but I don't …

Software Development assembly
Member Avatar for wildgoose
0
297
Member Avatar for beshoyatef

Here i draw chessBoard and adjust affect of appearin blue rect when player press by mouse on the above two rows but the pawn image not appear . I made [B]intializingIcoss()[/B] on class[B] BoardGame[/B] then the method appear but when the image not appear when i put the method on …

Software Development image java java-swing
Member Avatar for beshoyatef
0
127
Member Avatar for NatalyC

Hello everybody, :) I'm trying to import an access database to mySQL by using c#, I'm using this software: MS Access to MySQL from Bullzip, and it seems to be working ok; by using c#, I can display all data from tables, using this connection: [CODE] private void btndisplayBooks_Click(object sender, …

Software Development c# microsoft-access mysql
Member Avatar for NatalyC
0
2K
Member Avatar for XodoX

Hello, These 3 codes had 5 syntax errors in each of them, but I don't think I found them all. Can somebody help me with this? [code] class AA { public: void print( ) const; int sum(); AA(); private: int x; int y; }; class BB { int one; int …

Software Development c c# c++
Member Avatar for XodoX
0
63
Member Avatar for ihatehippies

I have a Syncing program that, while idle, crawls through the sub-directories of the sources and destinations saved to a 'sync profile'. It starts a new thread and walks the directories calculating the divergence between the sources and directories. I want this feature to have little impact on computer performance …

Software Development python
Member Avatar for ihatehippies
0
120
Member Avatar for raigs

How can the webpage that is downloaded be stored inside a variable? [CODE]#include <iostream> #include <cstdlib> using namespace std; int main(void) { int VAR = system("wget http://www.google.com"); return 0; }[/CODE]

Software Development c++
Member Avatar for Ancient Dragon
0
337
Member Avatar for Sikter

Hello! I'm in a dilly of a pickle here and can't seem to get any answers on the web. My problem is one of EOF token recognition with CUP. When I define EOF as one of my terminals, CUP complains: Duplicate terminal (EOF) created So, I take it out, and …

Software Development java
Member Avatar for masijade
0
1K
Member Avatar for kaylors

Hey, I've been doing this little program to check if a number is a Keith number, and for some reason it's not working. I've gone over the code a few times but still can't detect the error. Could you please help? [CODE]static boolean isKeith(int n) { int sz=Func.sumDg(n); int arr[]=new …

Software Development java
Member Avatar for javaAddict
0
123
Member Avatar for dads

I have to make some bookmarks so I quickly knocked up the script below and ran it. It created the files fine but with a with an incorrect ip in the second file The second bookmark created should be named York.URL which it is but the ip address of the …

Software Development python
Member Avatar for slate
0
113
Member Avatar for Kolz

First Question: Use the following variables: i , lo , hi , and result . Assume that lo and hi each are associated with an int and that result refers to 0 . Write a while loop that adds the integers from lo up through hi (inclusive), and associates the …

Software Development python
Member Avatar for Kolz
0
2K
Member Avatar for Diamonddrake

I have a class that in one of its methods creates a new thread that makes some http requests, serializes the results, packs them up in an event object and then it Should call broadcast an event returning its data. but I can't figure out how. the class is not …

Software Development
Member Avatar for Diamonddrake
0
157
Member Avatar for Odc

Hi there, I am trying to read integers from a file and store them into an array but I have no idea how to do it. The file is a text document whos contents are arranged like an adjacency list. Here is an example file: 0 : 2,4,5,6,10 1 : …

Software Development c
Member Avatar for Odc
0
118
Member Avatar for manisha_v

hey all... i m in 5th sem engg ....currently i hve undertaken a project under indian army which is like creating a database software for them.....frontend is vb6 and sql....i need ur hlp in the search and view option..... for the search option i need codes to search from the …

Software Development visual-basic
Member Avatar for manisha_v
0
115
Member Avatar for OSiRiSsk

Hi, im creating some program, which reads number from stdin, and save them into variable X, but how can i make condition that program will print error on the screen if X is not number [CODE=c] #include <stdio.h> #include <stdlib.h> #include <ctype.h> int main() { float x; while ( (scanf("%e",&x)) …

Software Development c
Member Avatar for Aia
0
261
Member Avatar for sharkman

Please help quickly! I'm on short notice here. I'm making a C++ program for a project, and the computer I'll need to run it on does not have a compiler. I am currently using Microsoft Visual Studio 2003. I would very much like to turn this file into an executable …

Software Development c c# c++ visual-studio
Member Avatar for sharkman
0
180
Member Avatar for proactive_07

Write the program that ask user insert 5 type integers of an array for student number for each course(MECHA : 280, IART : 150, HVAC : 200, FJ : 180, ASMT : 150) program must calculate the total student & percentage each course

Software Development c++
Member Avatar for Clinton Portis
0
84
Member Avatar for abhipro

Hi everyone, I have a library in C++ ( All source and header files) which was targeted for Linux. Although, the authors say that with some minor changes, it can be compiled on Windows too. Also, when I checked the .CPP files, some do the following code #ifdef WIN32 #include …

Software Development c++
Member Avatar for abhipro
0
120
Member Avatar for ayaz.ali

I want to create a a program in which i enter a word and the program counts the number of alphabets used in the word and display as output !! I know its simple but i am just a beginner and my teacher wants to submit this as assignment this …

Software Development java
Member Avatar for surbhi bhasker
0
412
Member Avatar for parth malhotra

as a bigginer in c , having problem in understanding basics that how to develop programs with use of functions

Software Development c
Member Avatar for surbhi bhasker
0
49
Member Avatar for itzaaron

This program collects 3 numbers from the user and then simple adds the total and spits out a response. problem is the final output is blank, it just says 'The total is: '_____ but nothing there. Whats wrong?? [CODE]#include <iostream> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { int …

Software Development c++
Member Avatar for itzaaron
0
173
Member Avatar for pyprog

The following code should return the longest odd-length palindrome in a string centered at the index. So in a string 'asradarer' it should return 'radar'. Can you explain to me what the problem here is? [CODE]def get_odd_palindrome_at(word, index): num = 1 new_word = "" while index < len(word): if word[index …

Software Development python
Member Avatar for vegaseat
0
903
Member Avatar for bol0gna

My file directory is full of filenames with "male" and "female" being part of them. I want to loop through the directory and distinguish between the two. [CODE] import os maleDataSets = 0 femaleDataSets = 0 females = [] males = [] filePath = "Dataset/parameter feature vectors" for file in …

Software Development dataset file-system python
Member Avatar for vegaseat
0
199
Member Avatar for cgeier

I am trying to write a program to display the unicode character when a user enters a unicode character code. ex: If the user enters: "\u00C3" in the textfield, I want to display a capital "A" with a tilda (~) over the top of it. Here's my code so far: …

Software Development display java java-swing
Member Avatar for cgeier
0
2K
Member Avatar for brijendra_kumar

how can a linked list can be sorted in less than O(n*n) any algo ??

Software Development c++ linked-list
Member Avatar for brijendra_kumar
0
52
Member Avatar for amishraa

the char character for grade are coming up with weird ascii like characters instead of the letter grades. Please help! //declaration string first, last; int prog1, prog2,prog3,prog4, prog5, test1, test2; int totalpts, progavg, testavg, courseavg; char grade; //executables totalpts = (prog1+prog2+prog3+prog4+prog5+test1+test2); progavg = (prog1+prog2+prog3+prog4+prog5)/5; testavg = (test1+test2)/2; courseavg = (progavg+testavg)/2; …

Software Development c++
Member Avatar for amishraa
0
207
Member Avatar for tomtetlaw

I am trying to make a 3D Engine using OpenGL, I've got all the model loading, 3D nodes, all that stuff done, but I get linker errors when I try to compile, it.. these are the errors: ------ Build started: Project: TheAlienEngine, Configuration: Debug Win32 ------ Compiling... main.cpp core.cpp ae_3d.cpp …

Software Development c++ opengl visual-studio
Member Avatar for Dave Sinkula
0
214
Member Avatar for lewashby

I the following program, can someone please explain these two lines. "def __init__(self, master):, & Frame.__init__(self, master)" One other thing. Shouldn't the method "update_count" use a return to return the new count? thanks. [CODE]# Click Counter # Demonstrates binding an event with an event handler from Tkinter import * class …

Software Development gui python tkinter
Member Avatar for vegaseat
0
199
Member Avatar for luoyangke

who can tell me what the use of "\n" is? and what the difference between [CODE]scanf("%d",&j); [/CODE]and [CODE]scanf("%d\n",&j)[/CODE];?

Software Development c
Member Avatar for Dave Sinkula
0
113
Member Avatar for cjjack88

Hi, I am trying to read the following information from a text file and save it a binary search tree. The data are: [CODE] Toyota 1.3 Solid 33,235.04 3300.00 Nissan1.3 Solid 38,235.04 3300.00 [/CODE] [CODE]struct Node { char model[50]; char colourType[20]; double price; double deposit; struct Node *parent; struct Node …

Software Development c
Member Avatar for cjjack88
0
90
Member Avatar for Xessa

Hello. I have two questions about iText. The pdf file exactly has to be like the word file that was sent to me. In the word file; the character is Times New Roman and its 10 puntos. But in the pdf file when i try to do Times.Roman and 10 …

Software Development java pdf
Member Avatar for peter_budo
0
115
Member Avatar for xfrolox

Ok i add a SplashScreen1 then i put it to show, i go to Application Events and i add this [CODE]Partial Friend Class MyApplication Protected Overrides Function OnInitialize( _ ByVal commandLineArgs As _ System.Collections.ObjectModel.ReadOnlyCollection(Of String) _ ) As Boolean My.Application.MinimumSplashScreenDisplayTime = 4000 Return MyBase.OnInitialize(commandLineArgs) End Function End Class End Namespace[/CODE] …

Software Development vb.net
0
172
Member Avatar for Tupp128

Can someone help me develope this program Design, document and implement a Visual Basic conversion application that will permit the following : • Enter a value • The user should be able to select one of the following options : o Convert from Fahrenheit to Celsius (temperature) o Convert from …

Software Development visual-basic
Member Avatar for Tupp128
0
103
Member Avatar for Darth Vader

I wonder for something. If it is possible to replace for example * with any kind of variable that holds either: + - * / Something like: [code] Variable = *; double Number1 = 5; double Number2 = 10; double NewNumber = 0; NewNumber = Number1 [B]Variable[/B] Number2; [/code]

Software Development c++
Member Avatar for Darth Vader
0
256
Member Avatar for nevets04

Heres the situation so far.I'm in 9th grade and I've been programming in python. I enjoy python however, my high school doesn't offer any courses for python. In 11th and 12th grade, I can take C++. So here's my question: Should I: A) Learn python for the next to years …

Software Development python
Member Avatar for vegaseat
0
215
Member Avatar for new programer

Hello, I've been wondering about how to make shapes out of stars (*). Like a rectangle and different stuff. Is there a way for that ? and how ? Thanks all,

Software Development c++
Member Avatar for VernonDozier
0
171
Member Avatar for halona

I suppose to write a grammar file for assembly language program by using Java in ANTLR .. but I don't know from where should I start .. and what should I do.. I am lost.. any expert with this subject could help me :( I have read a lot but …

Software Development assembly java
Member Avatar for halona
0
108
Member Avatar for its.avinash

Hi all! Please somebody explain me how this snippet is working!! [CODE]main() { float a 4.379; char*p; int i; p=(char*)&a; for(i=1;i<=3;i++) printf("%02X",(unsigned char)p[i]); } [/CODE]

Software Development c
Member Avatar for Gaiety
0
139
Member Avatar for Jigg1yPuff

ok, so i've read most of the stuff here to help with sorting string arrays in alphabetical order, but i got more confused... i need some1 to take a look at my program and see where i went wrong. also, i need help in getting the largest,smallest,and average... yes, i'm …

Software Development c++
Member Avatar for John_conner
0
191
Member Avatar for sathish.b

good morning to every one....... How to use the %n in scanf () & printf()? ..explain in thoroughly with examples... thanking you for giving answer

Software Development c
Member Avatar for kvprajapati
0
88

The End.