43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for rajye

I need program in c to print keywords and their frequency of occurence in a given c program

Software Development c first-post
Member Avatar for iamthwee
0
105
Member Avatar for shear

hey, i have project in my visual basic laboratory, but i'm just a newbie, so can anybody help me.. they say that its just a simple syntax, but it is not simple for me.. so please help me.. it goes like this, a quiz that has a radio button choices, …

Software Development visual-basic
Member Avatar for Prozeen
0
148
Member Avatar for shyamalaa

file_list='find /home/attrib/ -name *.csv' for fn in $file_list do echo "Inside the loop" echo $fn done I need the list files available in the specified directory find /home/attrib/ -name *.csv - This works on the command line and gives the desired output . But the above script Gives me output …

Software Development shell-scripting
Member Avatar for shyamalaa
0
126
Member Avatar for hoceandress

hey guyz!!! i'm just trying to check my code u all if it's correct. thankz! the problem is " ask a number (N). calculate and display the value of x, where x = (1*N)+(2*N)+(3*N)...(N*N); ex. if i input a number 5 the formula of x where: x = (1*N)+(2*N)+(3*N)+(4*N)+(5*N); this …

Software Development c++
Member Avatar for vijayan121
0
134
Member Avatar for psyman_86

Hi, i'm trying to implement a node class to be used with a linked list. When try to complile i get the following errors in the .cpp file: Node.cpp:26: error: syntax error before `::' token Node.cpp:31: error: syntax error before `*' token Node.cpp:36: error: syntax error before `*' token Everything …

Software Development c++ linked-list
Member Avatar for psyman_86
0
447
Member Avatar for tgifgemini

Hello members I reading - Looping through a recordset (MS Access Query) that has 49 records. Note: the query is generate on the fly(dynamically). The processing is supposed to exit the loop at EOF but it keeps processing indefinitely (sort of an infinite loop). Does anybody know why this is …

Software Development visual-basic
Member Avatar for tgifgemini
0
248
Member Avatar for plusplus

How do I check if two dates(within same month) occur within the same week, week starting sunday. Already found the answer I used Datediff("ww",,)

Software Development visual-basic
0
60
Member Avatar for pmhayden

Hi I'm in the process of getting JConnector in MySQL to connect to JBuilder 3. I've noticed in the MySQL manual that to accomplish this successfully I need to switch off the class verifier (-Xverify:none) as JBuilder 3 is too old to support some features on the JConnector. (1) How …

Software Development java
Member Avatar for jwenting
0
105
Member Avatar for apontutul

I want to make: when i click a button after I've given some input it checks & if successful it opens a new window/page i.e I want to create a link....till now I've done [CODE] import javax.swing.JOptionPane; public class inputwindow { /** * @param args */ public static void main(String[] …

Software Development java java-swing perl
Member Avatar for Ezzaral
0
245
Member Avatar for tgifgemini

People, this is a wired one for me. I am executing my module and I am getting a compile error - "Loop without a Do" even though I do have a "Do". Below is my module: [code] ii = 5 ii = ii + 1 Do Until M.qBW.EOF xlWksht.Cells(ii, 1).Value …

Software Development visual-basic
Member Avatar for tgifgemini
0
508
Member Avatar for Prozeen

Hi there. I've got two forms (form1.frm and frmoptions.frm.) The first form contains a variable (multip = 2.) When I click on the first form let's say I want to see that variable in the second form's command button's caption. This doesn't work. All I get is a blank command …

Software Development visual-basic
Member Avatar for Prozeen
0
64
Member Avatar for Kshiteesh

Dear Friends, I have been working on a VB.net project on VB8 with ms access as backend. While finding certain data by entering primary key in the form i.e. id i experienced a problem. While displaying the values which are null in the database like wise tel1 is null then …

Software Development microsoft-access open-source vb.net
Member Avatar for Kshiteesh
0
582
Member Avatar for plusplus

I have a main form and every once in a while another form is popped up, waiting for input from the user. I have a toolbar on my mainform. When that [B]other[/B] form is shown [B]while[/B] the user is in the sub of menubutton_click, then the program gets stuck, it …

Software Development visual-basic
Member Avatar for plusplus
0
236
Member Avatar for anto_nee

please anyone giv me the sol MsgBox Mid$(txtFirst.Text, 0, 2) whts the prob with this line it displays "invalid procedure call or argument"" please help me

Software Development visual-basic
Member Avatar for anto_nee
0
72
Member Avatar for Trevora

Hello I have a need to output a large array for a CNC machine I have built. The attached code includes comments which explains my problem. Thank you for your consideration.

Software Development c++
Member Avatar for Trevora
0
221
Member Avatar for Lardmeister

Right now I have a mixed list of different types of elements: [code=python]mixed_list = [1, 0.5, 0, 3, 'a', 'z'] print max(mixed_list) # shows z, but would like it to be 3 [/code]How can I find the maximum numeric element of the list?

Software Development python
Member Avatar for Lardmeister
0
94
Member Avatar for fonzali

hi guys , I am interested in writing a code to do the soduko ( or sudoku ) , I found this code on the internet which is supposed to be the shortest soduko solver but it is so short that I can not undrestand it . can any one …

Software Development python
Member Avatar for fonzali
0
1K
Member Avatar for amishosh

Consider the following code: [code] [COLOR=green]#include[/COLOR][COLOR=green]<stdio.h>[/COLOR] [COLOR=green]#define[/COLOR][COLOR=green] SET_BIT(buf,n,val)buf[n]=val[/COLOR] [COLOR=green]int[/COLOR][COLOR=green] main()[/COLOR] { [COLOR=green]char[/COLOR] ch=[COLOR=green]'D'[/COLOR]; [COLOR=green]char[/COLOR] *name=[COLOR=green]"Yankee Duddle"[/COLOR]; [COLOR=green]int[/COLOR] i=5; SET_BIT(name,i,ch); printf([COLOR=green]"%s"[/COLOR],name); } [/code] When compiling with Borland C it worked fine. However when I tried cimpiling it with VS 2005 I got the following error: "Unhandled exception at 0x00413529 in Learning …

Software Development c
Member Avatar for Salem
0
190
Member Avatar for venomocity

First of all let me say I love this forum, everyone has been very nice and extremely helpful! Now to my question. I got help with a question like this before and the answer I got worked perfectly. However I have a new angle. I'm wanting to take and subtract …

Software Development visual-basic
Member Avatar for QVeen72
0
105
Member Avatar for lollerskates

Hi there I have an application that I've made in Delphi - it runs fine in Delphi and when I save it and run the .exe file, it works fine as well. My problem arises when I zip everything and email it to another computer and then try to run …

Software Development delphi hard-drive pascal xml
Member Avatar for lollerskates
0
878
Member Avatar for plusplus

One of my forms (lets call it frmnew) is opened with vbmodal, since I want the user to finish with that form before continuing. When he presses cmdsave(a command button on frmnew) then while the program is executing that statement I want to show another form (frmsplash). It doesn't let …

Software Development visual-basic
Member Avatar for plusplus
0
98
Member Avatar for venomocity

Alright, I dont know if this can be done or not, but can you say, take either a caption or the text in a text box and add or subtract from what's in it, with a click of a button? Allow me to explain, lets say I have a text …

Software Development visual-basic
Member Avatar for kb.net
0
132
Member Avatar for blondie.simon

Hello I want to cause a time dealy or 100ms in the middle of my code. Can anyone help me on how I can achive this. Thanks Simon

Software Development vb.net
Member Avatar for blondie.simon
0
98
Member Avatar for K1ngp1n

alright... So I want to learn assembly, and i got a few tutorials. I noticed that there were different interrupts. I went online and searched for a list of them, and i found Ralph Brown's interrupt list....My question(s) is/are, Is it true there is over 120,000 different interrupt commands? How …

Software Development assembly
Member Avatar for K1ngp1n
0
139
Member Avatar for amishosh

Hi! I cannot access my "Debug Windows" in VS 6. All the windows are grayed out and I cannot select them. What do I need to define to be able to access them? Thanks

Software Development c visual-studio
Member Avatar for iamthwee
0
74
Member Avatar for php111

Hello gang, I was actually really my old topic on this forum. I heard that Python and Ruby would be for me to start with. Does that sound right instead of jumping right in to C and C++? What is required in Python? Is there free tutorials on that language? …

Software Development python ruby
Member Avatar for vegaseat
0
182
Member Avatar for xiyann

i have these objects: [ ['John', 27.52], ['Mary', 43.32], ['Paul', 64.85], ['Lulu', 98.23], ['Peter', 23.64] ['Mimi', 53.42], ['Nancy', 23.63] ] and i need to assign them to: var1 = ['John', 27.52] var2 = ['Mary', 43.32] var3 = ['Paul', 64.85] var4 = ['Lulu', 98.23] var5 = ['Peter', 23.64] var6 = ['Mimi', …

Software Development vb.net
Member Avatar for xiyann
0
99
Member Avatar for venomocity

I'm trying to write a game for fun. I've been able to get some lines of code from other friends who have been able to help. But they couldn't help me with this. I'm trying to write the code to where, when you click on the button it should change …

Software Development visual-basic
Member Avatar for jireh
0
102
Member Avatar for tgifgemini

Good morning, I modified the code accordingly and got another "Run-Time error 1004 - Unable to set the RowHeight property of the range class" on the code below. Also, please look at the spreadsheet attachment. Is there any way I can get rid of the spacing(gap) that separates the line …

Software Development visual-basic
Member Avatar for kb.net
0
2K
Member Avatar for gretschduojet1

Hey everyone, I'm new to C++ programming and have just started the semester and having a bit of trouble with my second homework assignment. Here's the assignment: Write a program that accepts a 7-9 digit integer andechoes the number with commas between every three digits from the right. Here's what …

Software Development c c# c++
Member Avatar for gretschduojet1
0
1K
Member Avatar for krnekhelesh
Member Avatar for Ancient Dragon
0
206
Member Avatar for mimsc

Im getting invalid coulmn index...any suggestions?...thanx in advance [code=java] public static int[] getListSummary(UserDataVO userData) throws Exception { Connection connection = null; PreparedStatement pstmt = null; ResultSet resultSet = null; int[] listSummary = {0,0}; int leadCount = 0; try { connection = DataBaseConnectionManager.getConnection(); if (connection != null) { if (userData.isAgentType()) { …

Software Development java sql
Member Avatar for mimsc
-1
305
Member Avatar for apontutul

hi guys..........this is the code I'm trying to run [CODE] package dbpack; import java.sql.Connection; import java.sql.DriverManager; import java.sql.*; import org.jfree.chart.*; import org.jfree.data.jdbc.*; import org.jfree.data.general.*; public class chartdb { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub //private void readData() //} private PieDataset …

Software Development java
Member Avatar for apontutul
0
6K
Member Avatar for pmhayden

Hi doing a project which consists of moving between individual frames and in general interrogating a database from these frames. My first frame is a Logon frame. In this Logon Frame/class i have also instantiated another class called Member where I've saved the username from the logon process. Can I, …

Software Development java
Member Avatar for orko
0
295
Member Avatar for mimsc

Im getting this on just about every line....anybody see what Im doing wrong? [code=java] public static int[] getLeadsSummary(UserDataVO userData) throws Exception { Connection connection = null; PreparedStatement pstmt = null; ResultSet resultSet = null; int[] leadsSummary = {0,0}; int leadCount = 0; try { connection = DataBaseConnectionManager.getConnection(); if (connection != …

Software Development java
Member Avatar for mimsc
0
154
Member Avatar for t_yalthis

Hi everyone, I'm using ADODB to connect to an access database and it is working perfectly. but I don't really know that it is going to work when more than one person tries to reach the database at the same time...is it possible? moreover, does everyone has to set up …

Software Development visual-basic
Member Avatar for t_yalthis
0
93
Member Avatar for t_yalthis

hi everyone I need to change the system clock and date's language to English. My program is going to show the date automatically in english in every computer that is installed in.. I tried to change the names of the months in to english but it did not work.. do …

Software Development visual-basic
Member Avatar for t_yalthis
0
95
Member Avatar for bilalb1

hi I have the following problem... I have a program (c++ code) which updates some logs ...(i am using linux as the operating system) I was wondering that is there a way by which i can execute this code/program after every two (or what ever time period expires )by creatiing …

Software Development c++ operating-system
Member Avatar for bilalb1
0
115
Member Avatar for plusplus

I'd like to add a color palette to my form, so that the user can choose a color. How can I add such a palette to my form(with all the colors vb offers)?

Software Development visual-basic
Member Avatar for plusplus
0
463
Member Avatar for venomocity

Alright, I have an MCSE and A+ education, but nothing is as confusing as script for VB. Well, I take that back it can be pretty simple but sometimes I just can't see the forrest for the trees. I'm trying to copy the data from a text box named creditbox …

Software Development visual-basic
Member Avatar for plusplus
0
140
Member Avatar for plusplus

I'm comparing a text box to a field in my database I want it to give back true only if upper\lower case match and not always when the words are the same. Can you help me?

Software Development visual-basic
Member Avatar for binoj_daniel
0
186
Member Avatar for mayank_ati
Member Avatar for bhavna_816

How can i fix the column width at code time so that it cannot be editable at runtime. language-C# Windows application version-.net 1.1 or 2003

Software Development
Member Avatar for nyashaC
0
120
Member Avatar for baltazar

Hi there, What I am doing is filling a 2-D array with numbers in a random order. i.e. I pick a position in the 2-D array and input a number there eg: array[2][1] = 3;(this input is received from a text file) In this way, I fill the array but …

Software Development java
Member Avatar for anamika_nagpur
0
114
Member Avatar for jaepi

Hello there, I have here a program that reads a txt file taking each word in three columns separated by a comma and storing it to a vector. It has a filter that whenever it sees a comma, it seperates the word from each other. My problem is, whenever I …

Software Development c++ file-system
Member Avatar for jaepi
0
128
Member Avatar for Anupkumar

I want to learn [B] CORE JAVA [/B]... So, can any one advise me how to start...

Software Development java
Member Avatar for Anupkumar
0
164
Member Avatar for asilter

i have a char array of 4 elements : [code] 00000000 00000000 00000010 00000111 [/code] how can i assign these bytes to 4 byte integer (this means 519), could you please give a modular code sample? thanx.

Software Development c
Member Avatar for ashishtrivedi
0
3K
Member Avatar for mimsc

this is my first post...not sure whats the problem...any suggestions would be appreciated...thanx [code=language] <% int unViewedCt= 0; out.write("var jsLeads = new Array); (for (int i=0; i< leads.size(); i++) { currLead = (HashMap)leads.get(i); out.write("jsLeads["+ i +"] = new Array();\n"); out.write("jsLeads[" + i + "][0] = '" + currLead.get("PK_LEADID") + "';\n"); …

Software Development java
Member Avatar for ksaxena
0
111
Member Avatar for petro

Hi, I have this project that i have made, although i have been trying to figure out how to make it so that the user can only enter integers in the input box and no letters (if they do the program crashes) Can anyone help us out/guide me in the …

Software Development vb.net
Member Avatar for nyashaC
0
191
Member Avatar for bergy_nj

hi.. can anybody help me to have more efficient code.. i tried to do some simple regex to split an URL i tried to do this on my own many times but i couldnt seem to get it right i havent master regex yet..(im learning - but the learning curve …

Software Development python regex
Member Avatar for bergy_nj
0
116

The End.