132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rpjanaka

hi all, i have Theora video codec source code (a C library) and i want to debug it using GDB in linux. but if its developers have not provide debuging enable option, how can i manualy chnaged the make file for unabling debuging optins. please can anyone help me to …

Software Development c video
Member Avatar for dwks
0
65
Member Avatar for pdwivedi

I have several .CPP and .H fles which i want to compile together. These files are used for PLC and Oracle database communication. when i try to compile these files it says following header files are missing .. [COLOR=red]<occi.h>[/COLOR] [COLOR=red]<sys/msg.h>[/COLOR] [COLOR=red]<sys/time.h>[/COLOR] [COLOR=red]<sys/stat.h>[/COLOR] [COLOR=red]<signal.h>[/COLOR] How can I recover these files & …

Software Development c oracle
Member Avatar for dwks
0
106
Member Avatar for pacman326@gmail

Hi guys, here is my code. [code] #include <iostream> #include <cstdlib> #include <ctime> using namespace std; void chooseNumber() { int gameRow, gameColumn; cout << "Please enter two values, the row and column of the cell " << "you would like to pull from the gameboard." << endl; cin >> gameRow; …

Software Development c++
Member Avatar for Narue
0
81
Member Avatar for locy

can spmeone help me with any c compiler avaliable that i can easy download and the keys that i can use for the command.

Software Development c
Member Avatar for dwks
0
148
Member Avatar for PL.P27

Hi Everybody!! I'm new to java and am experementing with GUI and would like if someone could please help me, because I can't figure out how to fix the problem. The part in red is the part where I cannot figure out how to fix it because it says it's …

Software Development gui java
Member Avatar for PL.P27
0
3K
Member Avatar for bluanwht

Here is the code I have. I am trying to collect five scores and then print each score followed by the average score. Seems like it would be simple but I am having problems. Any suggestions? [CODE]Option Strict On Public Class frmScore Private Sub frmScore_Load(ByVal sender As Object, ByVal e …

Software Development visual-basic
0
69
Member Avatar for mariejt

Good Morning! I am trying to create a Book2 object and assign to Inventory_Program6a. When I try the following: Book2 newBookTitle = Book2(); I get the error message: C:\java>javac Inventory_Program6a.java Inventory_Program6a.java:325: cannot find symbol symbol : constructor Book2() location: class Book2 Book2 newBookTitle = new Book2(); ^ 1 error I …

Software Development java java-swing
Member Avatar for cms271828
0
116
Member Avatar for jrice528

This program was suppose to be with a function but I am trying to write without a function first, then adding one later. I am new to programming and still gettin basics. I got this much but its only giving me a 1 and a 0. Ive tried to find …

Software Development c++
Member Avatar for iamthwee
0
180
Member Avatar for barbie 2

hi , i'm writing a program which calculates registration fee of student and this program opens an external txt file.It's my first time writing a program with an input file so i'm kinda confused.my program asks for the status and number of credits but does not gimme the fee. #include<iostream> …

Software Development c++
Member Avatar for iamthwee
0
170
Member Avatar for MedianHansen

When i try to compile my source code, it comes up with two errors: the first one is: cannot find -lobjc the second one is: Id returned 1 exit status

Software Development c++
Member Avatar for MedianHansen
0
82
Member Avatar for sajjaaaa

hey i wonna know how to make a program to input a text and save it in *.txt as a notepad file.

Software Development visual-basic
Member Avatar for A_member
0
71
Member Avatar for frozenflame2

[code]#include <iostream.h> int main(void){ char a; char b; cim >> b; b=b-'a'+'A'; cout << b; return 0; } [/code] I am like about 2 weeks into programming, so I am pretty simplistic in my programs. If you put that into like a Borland Compiler (not sure if other compilers use …

Software Development c++
Member Avatar for Narue
0
116
Member Avatar for eddy518

Hey Fam, I’m working on this ..so far this is what I have..(after almost 2 1/2 frustrated hours) As a newbie, I figure out somehow the remainder and the prime concepts. I’m finally happy that I have 0 error but the program doesn’t do what I expected! Eventhough I tested …

Software Development c++ perl
Member Avatar for Salem
0
113
Member Avatar for culebrin

I have this code: [CODE]Dim cb As OleDb.OleDbCommandBuilder Try cb = New OleDb.OleDbCommandBuilder(daDocuments) daDocuments.Update(CType(bdsDocuments.DataSource, DataTable)) MessageBox.Show("The data load has finished...", "DBF Load") Catch ex As Exception MessageBox.Show("1.- " + ex.Message) End Try[/CODE] but, the OleDbCommandBuilder don't create the updatecommand and hence it doesn't work... any ideas?

Software Development vb.net
Member Avatar for manal
0
306
Member Avatar for HLA91

Hi all Ive heard some chatter that it is best to compile your C# program on .NET V1.1 because it automatically comes with windows updater for xp and that the later versions are considered optional in the updates, is this true and is it safer to compile on V1.1? Many …

Software Development asp.net
Member Avatar for HLA91
0
97
Member Avatar for rwarrender

Hiya, I'm currently working on a little java program that will scan through a directory, reading php files and then dump out a list of function names for that particular file. Does any one know how I can modify my regex to exclude functions that are inside /* */ comments? …

Software Development java regex
Member Avatar for rwarrender
0
81
Member Avatar for sneha_venky

for my school project , i need a very simple game (can be textbased ) i need help pleasseeeeeee.........................:'(

Software Development c c# c++
Member Avatar for vijayan121
0
218
Member Avatar for toko

i would like to make a client choose with words rather than numbers. Instead of the conventional way of using numbers to retrive commands i need to make a client write words for example they type in "add" to get 2 numbesr to add and so on. any help is …

Software Development c++
Member Avatar for Narue
0
69
Member Avatar for toko

i was wondering whenever you create a file in c++ where does it go cuz i've never seen anyone specify the root..

Software Development c++
Member Avatar for toko
0
95
Member Avatar for toko

Okay, i have written a code to figure out the area of all different shapes but i can't get it past hte pasrt where the client chooses what they want to find the area of. this is my code: [CODE]#include <iostream> #include <cmath> using namespace std; int getChoice(); int circle(); …

Software Development c++
Member Avatar for toko
0
300
Member Avatar for lhay

[COLOR=DarkSlateBlue]undefined[/COLOR]pls!help me to my project in cs programming about in the smallest and biggest and to find it averages!!!!!!!!!!!!!!!!!!!pls!!!!!!!help me!!!!!!!!!!!!!!!!!!thank you!!!!!

Software Development c++
Member Avatar for preeti madan
0
109
Member Avatar for Fool

i have to decide a program to "satisfy" my crazy private tutor .This program reads in 2 input extremely large postive integers. It will then output their sum. However , as C++ got limit in int, so i think i need to use string variables to represent the values..then use …

Software Development c++
Member Avatar for Fool
0
317
Member Avatar for Arthurmilo
Member Avatar for parthiban

Hi all , I tried one simple animation in Swing . Here's what the program has to do : when a button called "play" is clicked a circle should be moved from upper left corner down to the lower right corner. [code=java] import javax.swing.*; import java.awt.event.*; import java.awt.*; public class …

Software Development gui java java-swing
Member Avatar for nschessnerd
0
100
Member Avatar for Linda1

I am very new to C++ and one of my homework assignments involvemulti dimensional arrays. I was able to initialize and input and display the array (4x4) but the last step is to swap the data of the row to that of the column. Tried different ways and unable to …

Software Development c c# c++
Member Avatar for Linda1
0
128
Member Avatar for MakingMoney

So I've written a code to get an acronym of the phrase inputed by the user. The only problem is that it insert an extra line in the result which I don't need. I'm not sure what is causing it. Here is the code and the results: import string def …

Software Development python
Member Avatar for MakingMoney
0
273
Member Avatar for thompsongunner

I'm trying to get a grasp of inheritance in Python but am having problems. I am trying to create a derived class but want the derived class to only provide an initialized instance of the base class. Specifically I would like to inherit from [inlinecode]OrderedDict[/inlinecode] as shown in the following …

Software Development python
Member Avatar for jrcagle
0
289
Member Avatar for towhoe260

This is my assignment and im pretty confused. Our book is a horrible book, and i cant seem to understand much of it. So i was hoping maybe someone could point me in the right direction in getting started. tHis is what we are expected to do. Write a program …

Software Development c c# c++ legal
Member Avatar for Dave Sinkula
0
145
Member Avatar for Llama

I want to make a code that searches a text file and finds a certain string, and then changes that string to another string. First im going to have it input the whole file, and i am couting it too, so that i can make sure it worked. But it …

Software Development c++ file-stream
Member Avatar for Llama
0
155
Member Avatar for wegdan

i am working on a cod of (attaxx game),and i have a problem with the buttons i can determine the co-ordinates (x,y) of the button and i want to change its background color but i do not have a reference of the jbutton object it self.is there is any way …

Software Development java
Member Avatar for Ezzaral
0
269
Member Avatar for bc030400412

Write a TSR program that changes the background color of the screen to red every 5 second and then white next 5 second, And this continues until you press ‘Q’ It should not modify the text displayed on the screen. Hint: 1_ Intercept Keyboard interrupt (0x09H) 2_ Use video text …

Software Development c c# c++ video
Member Avatar for Ancient Dragon
0
284
Member Avatar for onlyled12

I am very new to programming and am in a class that has quite the frustrating instructor. He gives very simple examples then asks very complex questions. Complex to me atleast. Anyone who could shed some light on these would be greatly appreciated. Write a program to play a number …

Software Development c++
Member Avatar for zandiago
0
431
Member Avatar for WhitePunk

i have a code of a projectile but... can these code be shorten or not??? i need new version of this and some times if i played this one some error was done hope you could help me to fing the error Option Explicit Dim Angle, Theta, y, x, t, …

Software Development vb.net
Member Avatar for preetham.saroja
0
161
Member Avatar for ttamilvanan81

Hai everyone, I need to find the Latitude and Longitude values for any one of the Particular location from the Google Maps, using pure java class. I know, it's done by using javascript, but i need to use pure java class not javascript. If we provide full address of the …

Software Development google java javascript
Member Avatar for peter_budo
0
98
Member Avatar for jamminjelly

Says grade isn't initializing import java.util.*; public class Test { static Scanner console = new Scanner(System.in); public static void main(String[] args) { char grade; switch (56 / 10) { case 0: case 1: case 2: case 3: case 4: case 5: grade = 'F'; break; case 6: grade = 'D'; …

Software Development java
Member Avatar for jamminjelly
0
98
Member Avatar for cat8882

Okay so I'm supposed to read in grades from a file add them together and get the average the letter grade the minimum grade and the maximum...no setting variables to the read in...and the sentinel is -1 at the end of the sequence...I'm a bet messed up...this is what i …

Software Development java
Member Avatar for Ezzaral
0
105
Member Avatar for FEARmike21

I have been checking on others letter count programs and none so far are like mine so I'm now making my own thread. My assignment, which is due tomorrow! *Yikes* Is for me to make a text file in notepad and then important that to my code. Then, I has …

Software Development c
Member Avatar for Salem
0
170
Member Avatar for mstrmnd2008

I am doing a c++ assignment and just need a little help. I would just like to know how to get the ASCII code number after inputing an ASCII character. The user of this program should be able to input an uppercase letter and recieve the ASCII code value and …

Software Development c++
Member Avatar for Narue
0
143
Member Avatar for Prozeen

Hi all, I would like to save my project's code in a text file when the project runs (so that I can keep track of any changes) I know how to open/print/write/close a text file, but how would I capture the code that is running? Any ideas/links/thoughts? Thanks.

Software Development visual-basic
Member Avatar for Prozeen
0
114
Member Avatar for liphoso

Can any one help..... I am relatively new to programming and I would like to learn a bit of C++. I dnt want to purchase a book as yet (mainly because i cant afford one at the moment). Can any one refere me to a site from which I will …

Software Development c++
Member Avatar for eranga262154
0
82
Member Avatar for sgriffiths

Hello I have a string "c0024" How can i get rid of non numeric digits, so i am left with 0024 removed "c" I cannot think of a way of doing this

Software Development shell-scripting
Member Avatar for radoulov
0
89
Member Avatar for geetajlo

Hi i want a sample project on MDI . Plzzz help me

Software Development vb.net
Member Avatar for geetajlo
0
82
Member Avatar for patrickyeow

hello, i have write a program and when i compile it, it say that one of my variable 'advance', is a ambiguous symbol and cannot be used....why? after i change the 'advance' to other word, like 'advanced', it run nicely....but why 'advance' word is ambiguous in this program? [code=cplusplus] #include …

Software Development c++
Member Avatar for vijayan121
0
251
Member Avatar for Prozeen

Hi, I am displaying a dialogbox to the user. If the user clicks the "Cancel" button I want to show a message box, then I want to continue displaying the dialogbox. The best I can come up with is...[code]Do comdia.Filter = "*.doc" comdia.InitDir = "C:\" comdia.filename = "file01" comdia.ShowSave On …

Software Development visual-basic
Member Avatar for Prozeen
0
237
Member Avatar for hawisme000

ive made a multiple choice quiz that gets a random question and a random choice the problem is i cant get the correct syntax that will determine if the answer i chose is correct my form is composed of 2label(1 for the question and 1 for the score when i …

Software Development visual-basic
Member Avatar for hawisme000
0
115
Member Avatar for krizz

I need help with the following: How do we calculate the sum of consecutive numbers from 1 to n and not from n to 1 by using recursion. Eg. if n = 10 it should be 1+2+...+9+10 and not 10+9+...+2+1.

Software Development c++
Member Avatar for anirudhbsg
0
992
Member Avatar for winky

Hey all, I am new to C/C++ and this week we just started object oriented C++. Before I dive into it I want to have a good understanding of simulating object oriented programming with C. Anyway, I believe I have doctored the code to where the queue and the Stack …

Software Development c queue storage
Member Avatar for Salem
0
122
Member Avatar for aismm

i need to write a program that includes student names, test scores, and grades... but the cin.getline doesn't work, it simply skips to the next line... where did i do wrong? Thanks. [code] #include <iostream> #include <iomanip> using namespace std; char getLetterGrade(float grade); struct course { char name[30]; char *letterG; …

Software Development c++
Member Avatar for Salem
0
6K
Member Avatar for kehar

Hi I have placed two datepicker and one text box in the form one as [B]dt1[/B] and another as [B]dt2[/B] if I select say [U]12/12/2007 [/U]in dt1 and [U]28/12/2007 [/U]in dt2 then in [B]text1.text [/B]the number of days elapsed between the two days should be appeared. So will any one …

Software Development visual-basic
Member Avatar for debasisdas
0
102
Member Avatar for eddiekash

i would like some examples of simple c or c++ codes that can shut down a computer like say at exactly 9pm. could anyone give me a sample c code that can pop up on the screen warning that the computer will shut down in 20 minutes.

Software Development c
Member Avatar for ithelp
0
88

The End.