132,723 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vedro-compota

Hi guys! In my makefile I have line - [CODE]gcc -Wall parent.c errmsg.o -o parent[/CODE] What does it mean "Wall" here ? big thanks in advance)

Software Development shell-scripting
Member Avatar for vedro-compota
0
109
Member Avatar for ryan311

how to check if the user input has a match in my given string [CODE] Dim a as string a = "abc" [/CODE] if the user input in the textbox "erty" the message box will be shown string not found. if the user input 123abc the message box will be …

Software Development vb.net
Member Avatar for Mariandi
0
333
Member Avatar for tubby123

i have a doubt. why cannot we use clrscr() before initializing a variable in C? i mean, why wont this work ? void main() { clrscr(); int a,b; ---- ---- getch(); } It'll give an error saying , "Declaration is not allowed here " Logically speaking , you should be …

Software Development c
Member Avatar for Narue
0
145
Member Avatar for madmhan84

[B]Good day everyone,[/B] Hope you could help me on this one The program is running but the result is far from what I want please help me... TIA Like this one: [B]Input:[/B] ------------------------------------ Enter first number: 7 Enter second number: 45 ------------------------------------ [B] Output:[/B] ------------------------------------ 7.45 [B]7.00[/B] ------------------------------------ [B]which should …

Software Development c
Member Avatar for Ancient Dragon
0
124
Member Avatar for yehtunaung

Hello anybody I 'm a beginner programmer and now I have one problems that is errors " could not find store procedure" in myform here is my code [code] Public Sub GRID_STAFF_INFO() CONTOSQL()'that is a function for connection to sql server' Dim table As New DataTable CMD.CommandType = CommandType.StoredProcedure CMD.CommandText …

Software Development vb.net
Member Avatar for jbisono
0
93
Member Avatar for jackparsana

hi, please help me to do this. i have problem in vb.net window base application. i want to block TAB key from the keyboard. please give me API code or any useful hint to do that. thanks in advance. jack parsana.

Software Development api vb.net
Member Avatar for pankeel
0
150
Member Avatar for laung

My coding here: [code] option_input = raw_input(">>>") option_input = option_input.upper() if option_input == "V": print "High Scores:" saveFile = open("scores.txt", 'r') scores = saveFile.read() saveFile.close() nameScore= [] for line in scores.split('\n'): # skip any empty line if not line: continue userScore, score = line.split(',') #convert score to a numeric value …

Software Development python
Member Avatar for TrustyTony
0
192
Member Avatar for jlivvers

Hi whats the best MS developer certification currently? I've noticed that the MCAD is mostly retired now. thanks!

Software Development microsoft
Member Avatar for C#Jaap
0
161
Member Avatar for Tursup

Hello, I am trying to put finishing touches on a program I have been working on. I stopped messing with it awhile ago and decided to return and polish it a little. Oh yeah, I am trying to make it so when it returns the 5 long number (or word …

Software Development c++
Member Avatar for TrustyTony
0
135
Member Avatar for FanionGolfer

JUST NEED A LITTLE HELP... I am doing a project and need some kind of look for it... Anything will do. My project is a matching game and I have worked out all the details so it runs pretty much smoothly. But I was unable to make the week of …

Software Development visual-basic
Member Avatar for debasisdas
0
100
Member Avatar for michele_muc

Hey guys, I'm tying to merge two XML file for days but it doesn't work. Here is the problem: I want to merge these XML files: graphs.xml [CODE] <?xml version='1.0' encoding='utf-8'?> <ph:Graphs xmlns:ph="http://www.merge.something.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > <ph:Graph name="mass_spring_mo"> <ph:Element id="0" type="Mass"> <ph:Attribute> <ph:AttributeField name="type" value="float" /> </ph:Attribute> <ph:Port id="1" type="port"> <ph:Attribute> …

Software Development xml
Member Avatar for xml_looser
0
167
Member Avatar for qweewq22

Hello friends . I have some problems . I want to Implement a stack and use 2 jButoons for push and pop and a jlist for showing the pushed elements . I write this code but it dont give me good result ...! please help me compelet this program . …

Software Development java
Member Avatar for JamesCherrill
0
164
Member Avatar for wonkerloop

I have tried to make a program that allows inputs into a 1D array. I run the program and the inputs are asked for, but the program simply continues to ask for more inputs. I'm moderately new to C so go easy. Any help would be appreciated Cheers Wonkerloop Heres …

Software Development c
Member Avatar for yashsaxena
0
166
Member Avatar for nore

Hello.. I want to make application that can count how many file was selected by me. For example i drag / select 2 files (.jpg) and then i right clicking them to raises menu, one of menu was registered by me in regedit with command execute app in my ClassLibrary …

Software Development visual-studio
Member Avatar for Mitja Bonca
0
141
Member Avatar for jemz

Hello, can you help me please, how can be my newly added data to be selected in my listview after i clicked my Add button.Please help me. Thank you in advance hoping for your positive response. here is my code. [CODE] Private Sub cmdadd_Click() Dim Objlist as ListItem sql = …

Software Development listview visual-basic
Member Avatar for Jx_Man
0
693
Member Avatar for Poopster01

This is my first time writing an array of objects and I’m having an issue putting it all together. I have written two classes and the third program that is supposed to test the classes. ***PROBLEM*** My primary issue at the moment is that my program to test the classes …

Software Development algorithm java
Member Avatar for javaAddict
0
324
Member Avatar for michaelzip

Hi. I just want to ask if it is possible to create a function that accepts an expression into its arguments. Just like what IIF do. Ex: [CODE]Dim strResponse as String = IIF(Msgbox("Select Yes or No", vbYesNo) = vbYes, "Yes", "No")[/CODE] I forgot the code, but its the thought that …

Software Development vb.net visual-basic
Member Avatar for michaelzip
0
173
Member Avatar for Tinee

Hi, I need help finding the problem with my program. I believe everything is working but when I input the the tolerance, the program suddenly terminates. Please help me spot the problem. By the way, as a warning my program is very long but redundant. hehe. [CODE]#include <iostream> #include <string> …

Software Development c++
Member Avatar for mike_2000_17
0
134
Member Avatar for Labdabeta

How can you play videos in C++, I am quite willing to use more than less any headers, I basically need a code that will work like this: [CODE]#include "PlayVideos.h" int main(int argc, char *argv[]) { SDL_Surface *screen=SDL_SetVideoMode(WINWIDTH,WINHEIGHT,WINBPP,SDL_SWSURFACE); ShowVideo("MyVideo.avi",0,0,screen);//play a video at position 0,0 and apply it to the screen …

Software Development c++ video
Member Avatar for mike_2000_17
0
186
Member Avatar for Razer_90

i want to do in my program that i can drag and drop any video file and it will drag their's name one after one in the first column and when i will drag srt files (subtitles files) it will drag and drop them one after one to the other …

Software Development listview video
Member Avatar for abelLazm
0
138
Member Avatar for P.manidas

Dear Sir/Madam, I have a small programe developed in VB 6.0 and database MS Access. Where user can insert their only name & address and can retrieve the existing records. Just for test, I have kept this programe (.exe file and database file) in the share document of a computer …

Software Development visual-basic
Member Avatar for debasisdas
0
548
Member Avatar for romz

Im creating a desktop application in Visual Basic 6.0 and im having trouble getting the data from datagrid. Im used to using DataGridView commands in Visual Basic .Net but its not available in VB6. I already tried using datagrid1.textmatrix but its not available for the datagrid controls. I think .textmatrix …

Software Development visual-basic
Member Avatar for romz
0
5K
Member Avatar for maybnxtseasn

typedef struct _FOO { int blah; int blah2; int blah3 } FOO, *FOO; 1.) Does this create 2 objects of type FOO and another that is a pointer to a FOO? 2.) OR does it just typedef the names so you don't have to do the following struct __FOO fooStruct; …

Software Development c
Member Avatar for abhimanipal
0
117
Member Avatar for packetpirate

I'm not sure if it's the way I'm sorting this ArrayList or the way I'm constructing new Term objects. Can anyone tell me what's wrong? My program is too long, so I'll narrow it down to the parts that are giving me trouble: The declaring of the terms and new …

Software Development java
Member Avatar for packetpirate
0
247
Member Avatar for cafegeo

I have a data file which includes an employee name, hours worked, salary and age. I have to manipulate this data: Print out the data as it is read in. Compute overtime(over 40 hours) Compute tax paid per employee using a specific formula. Sort the list by name. And a …

Software Development c++ data-structure
Member Avatar for cafegeo
0
3K
Member Avatar for jackmaverick1

Hi! I'm looking to be able to add a user created extension to a program I'm making. The extension should be able to execute on it's on accord, then pass control back to the program when it's done. So, Say I click a button (it's got a GUI on it), …

Software Development gui java
Member Avatar for jackmaverick1
0
223
Member Avatar for jimmymack

[CODE]#include <iostream> #include <string> // Declare the BaseClass. class BaseClass { public: // Constructor. BaseClass(); // Destructor. ~BaseClass(); // Simple method. void doSomething(); }; // Declare a SubClass that // inherits BaseClass. class SubClass : public BaseClass { public: // Constructor. SubClass(); // Destructor. ~SubClass(); }; // Define the functions. …

Software Development c++
Member Avatar for mike_2000_17
0
101
Member Avatar for Jsplinter

I'm having trouble overloading the operator< for a class that I want to use as a key for an stl map. It works fine for a comparison test, but when I try to use the std::map.find() function I get an error: [I]binary '<' : no operator found which takes a …

Software Development c++
Member Avatar for mike_2000_17
0
2K
Member Avatar for Griff1990

Hello everybody, hope you're all good. I'm making a quiz and I've got a set of questions and answers being loading into two different arrays, the idea is to answer a question with a choice of 4 buttons, so on a button click the answers checks to see if it …

Software Development audio vb.net
Member Avatar for Griff1990
0
199
Member Avatar for alexaaxela

Hi guys, basically im writing a program where the user inputs the number of coffees they require from a number of drop down boxes, one for cappucino, espresso, iced coffee and latte. after this, there is a 'calculate' button which totals these up and displays them in a textbox. my …

Software Development visual-basic
Member Avatar for Jx_Man
0
88
Member Avatar for Iamthecheese

Okay, so I have a rather easy problem that I can't seem to figure out. I'm getting cannot find symbol errors for T item=(T)input.next(); The program is a test file for a Binary Tree program. I was told the input 'item' has to be in T type. Obviously they have …

Software Development data-structure java
Member Avatar for Ezzaral
0
2K
Member Avatar for novice20

Hi, I am working with [B]python2.4 on windows[/B], and want pysnmp to be imported. Have downloaded [B]pysnmp-4.1.14a.tar.gz[/B] and [B]pyasn1-0.0.12a.tar.gz[/B] and put it under [B]D:\Python24\Lib\site-packages\[/B]. Still i am getting the import error. from pysnmp.entity.rfc3413.oneliner import cmdgen ImportError: No module named pysnmp.entity.rfc3413.oneliner What should I do to make pysnmp importable?

Software Development ide python
Member Avatar for snippsat
0
2K
Member Avatar for miguelsan

Hello guys I have been staring at this code for an hour and cant get it to work. My for loop on the bottom is not working. For some reason the array values keep resetting (value[row][col1]. This supposed to be Gauss-Seidel method so basically its an iterative method that relies …

Software Development c++
Member Avatar for miguelsan
0
92
Member Avatar for jxe217

I'm having an issue with my program when I call the "drawCardFace" and "drawCardSuit" functions. The function calculates and gives one answer the first time I call it. And then uses that same answer the next 4 times I call it. Can someone explain what I need to do to …

Software Development c++
Member Avatar for jxe217
0
213
Member Avatar for CelticWhisper

Hi all, First-time poster and netadmin/infosec guy trying to get into coding. My company uses a SQL Server 2005 database to store customer information and the like, and I'm hoping to learn to interact with it programmatically so I can write and/or customize software to make life a bit easier …

Software Development c c# c++ ide sql
0
157
Member Avatar for rEhSi_123

Hi Guys, I need some advice on reading an integer from a file. The file would always have one integer. Once the integer is read in, I would use this in 'if else' statement to find the outcome [CODE]f = fopen (fileName, "r"); if (f == NULL) return 0; fread(); …

Software Development c
Member Avatar for rEhSi_123
0
85
Member Avatar for cppjosh

Hey everyone! I was recently assigned this program in class and have finished it but i have some compiler errors i cant fix. I was just hoping that some of you could give it a shot and share what kind of code you came up with. Well here it is …

Software Development c++
Member Avatar for Akill10
0
365
Member Avatar for sciprog1

I am testing a program in C++ Templates (from the Deitel Textook) and I have the typical three files: Array.h: [CODE]// Exercise 14.7 Solution: Array.h // Class template Array definition. #ifndef ARRAY1_H #define ARRAY1_H #include <iostream> using namespace std; template < typename elementType, int numberOfElements > class Array { public: …

Software Development c++
Member Avatar for sciprog1
0
148
Member Avatar for Anark10n

Apologies if this question has been asked before, but all other threads are so old that it was advised to start a new thread. As the title suggest, i'm having trouble linking files in Code::Blocks(Linux OS). I had the same problems back when i was using Windows. Error message is …

Software Development c
Member Avatar for Anark10n
0
2K
Member Avatar for Trle94

Hey guys i need help with this error: Error 1 'All' is a 'variable' but is used like a 'method' 60 [CODE] int Plength = 0; Random Generate = new Random(); int rdmNumber = 0; string Password = ""; string All = ("aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ0123456789`~!@#$%^&*()_-=+[]{};:'|/?.>,<"); if (RB_All.Checked) { if (rbttn_eg.Checked | rbttn_tn.Checked …

Software Development
Member Avatar for Mitja Bonca
0
171
Member Avatar for bia

hey i m new to C#.. if want 2 store word document in Access in C# ???? How it can be done???????? PLz help me i have to submit my assignment but i m stuck with this point all my assignment is ready so plz help me as soon as …

Software Development c#
Member Avatar for Mitja Bonca
0
565
Member Avatar for jswain323058

I have this Code written but I am having problems with the While loop I need it to recognize if the password has less then 5 characters and if there are spaces. I just cannot get it working for the spaces. Can anyone help?? [CODE]#include <iostream> #include <vector> #include <string> …

Software Development c c# c++
Member Avatar for jswain323058
0
91
Member Avatar for miskeen

Hello, I need to random generate some values in c++. I know that I can use rand() but I need to generate values with the following condition: the generated values must be equal to 2^n (0, 2, 4, 8, ...). Is that possible? Kind regards, M.

Software Development c++
Member Avatar for vijayan121
0
227
Member Avatar for bhallarahul

Is it possible to write java program for controller or programmable interrupt controller?

Software Development java
Member Avatar for bhallarahul
0
76
Member Avatar for israruval007

ok my getData() function reads a text file and stores it into an array called info, and everytime it reads a letter from that file it calls a member called addRear which comes from my link list class "slist". what i need help on is how could i display this …

Software Development c++
Member Avatar for Lerner
0
157
Member Avatar for xanawa

How can i make [COLOR="Green"]ColumnHeaderName to HH:mm [/COLOR] format? [CODE]string columnHeaderName = dgvSchedule.Columns[i].HeaderText.ToString(); DateTime timeColumn = Convert.ToDateTime(columnHeaderName);[/CODE]

Software Development
Member Avatar for xanawa
0
216
Member Avatar for gayansameera

What are the all possible function signatures of C.

Software Development c
Member Avatar for gayansameera
0
103
Member Avatar for John Linux

Hi, If i have a vector in MATLAB v; [CODE]v = [1 2][/CODE] How can i push a value say '7' to the vector. ie. v = 1 2 7 I am currently doing it in a loop: count = 0 ie. for 1 to 10 count = count + …

Software Development
Member Avatar for Thisisnotanid
0
380
Member Avatar for karlamadeus

Hello all. I am trying to write a short little game, mainly to boost my knowledge of classes and objects, and of course I am starting to encounter problems. I have several classes for different types of creatures in this game. Most of them take the form of: [CODE] class …

Software Development oop python
Member Avatar for griswolf
0
229
Member Avatar for c#Programmer

hi, im designing a form that updates a customer details. when the user enter an id, the form displays all the fields of that customer. my problem is that i have a combobox that displays the status of the customer, i filled the combobox with four items and when the …

Software Development
Member Avatar for Mitja Bonca
0
170

The End.