64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for yashyash

Dear friends I have a conversion from ascii to binary while when i use my input which is like this : 16078 16283 0.3708 16078 16837 0.4514 16078 17820 0.4038 16078 17906 0.3695 16283 16837 0.3905 16283 17820 0.4343 16283 17906 0.3262 16837 17820 0.5291 16837 17906 0.6245 17820 17906 …

Member Avatar for yashyash
0
88
Member Avatar for DaShiVa

Cannot figure out what is wrong with this stylesheet - attach it to any xml, it doesn't actually use the xml in this stripped down example: [code=xsl] <?xml version='1.0' encoding='ISO-8859-1'?> <xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> <xsl:output method='html' indent='yes' media-type='text/html' /> <xsl:variable name='columns' select='10' /> <xsl:template match='/'> <table> <tr> <td> <xsl:attribute name='colspan'><xsl:value-of select='floor( …

Member Avatar for DaShiVa
0
216
Member Avatar for ashishchoure

hi, can anybody tell that how do we get group SID. we have user SID but how can i know to which group that SID belongs

Member Avatar for ashishchoure
0
113
Member Avatar for konczuras

Hello! I'm having the following problem: My application uses an SQL sever, and I entered the connectionstring in a .settings object. It warned me, that it's a security risk, etc. When I publsih my app, two files would be deployed, an .exe and a .config file, which contains all of …

Member Avatar for konczuras
0
233
Member Avatar for ClimaxBeetle

Hello, this is my first time in participating in this forum and also this is the first time that I've used Java for my entire life. The objective behind my problem was: "Create an Animal Interface that has two methods: eat and move. All these methods do not have any …

Member Avatar for BestJewSinceJC
1
136
Member Avatar for hurbano

hello im having problem trying to get this to do what i want it to do. after the program asks if the user has had any work up to date, i want it to ask for specification if the answer is yes, or go to a next question if no. …

Member Avatar for tux4life
0
310
Member Avatar for Dewey1040

im trying to write a program to see if two lists are equal im really kinda lost at the moment, i havent gotten the compare function yet but i think that should be pretty easy, but im having some errors which u can see. [code=C] #include <stdio.h> #include <stdlib.h> typedef …

Member Avatar for Dewey1040
0
86
Member Avatar for jam7cacci

I'm trying to compare two variables that is being inputed by the user but then it wont function [code] if (txt_pay.getItem() < txt_amount.getItem()) { jOptionPane1.showMessageDialog(this, "please enter the right amount"); } [/code] what could be wrong? the error says [quote] operator < cannot be applied to java.lang.string [/quote] another one …

Member Avatar for jam7cacci
0
112
Member Avatar for usang2me

Hello, I'm building my own website without any knowledge of PHP, & i'm almost done with that..as my website works fine on my local server i:e WAMPSERVER 2.0, but the same code is not working on server...n i'm rilli piss'd of coz of that... The error is :"PHP Parse error: …

Member Avatar for BzzBee
0
355
Member Avatar for k2k

hi, i have just written a simple hello world java program in my linux server, installed jdk ... and tried to compile and run it and it gave me some errors. please details below: [root@localhost javaFiles]# cat HelloWorld.java [code] import java.util.*; import java.io.*; public class HelloWorld { public static void …

Member Avatar for k2k
0
132
Member Avatar for Zolookas

I have a very simple one line function and i want to replace it with macro, but macro doesn't seem to work. Function: [CODE=C]int stack_empty(stack ** this_stack) { return *this_stack == NULL; }[/CODE] Macro i am trying to use: [CODE=C]#define stack_empty(x) (*x == NULL)[/CODE] Anybody knows what i am doing …

Member Avatar for Zolookas
0
107
Member Avatar for lllllIllIlllI

Hi, I have been exploring doing some GUI programming with the wxWidgets toolkit as i am used to that from programming wxPython in python. I am doing the tutorials from zetcode and i am very mystified. (i think i spelt that wrong). This is the url [url]http://zetcode.com/tutorials/wxwidgetstutorial/menustoolbars/[/url] Its the first …

Member Avatar for lllllIllIlllI
0
120
Member Avatar for mafarooqi

Hi everyone, I have been working with Matlab but now I have to develop a couple of programs in Python. So I am new to Python. Could anyone tell me the python equivalent of [B]eval [/B]command of Matlab. Actually I have to open a set of say 100 files to …

Member Avatar for mafarooqi
0
460
Member Avatar for rEhSi_123

Hello everybody, Not sure if the above title is correct for the issue I have but moderators please feel free to correct it.:) Anyways my issue is whenever a user logs onto my forum, my index page seems to display the ID of the user also......... Exactly like this: [quote] …

Member Avatar for nathenastle
0
121
Member Avatar for beckman16

Hi, I have a scenario wherein I need to give access of a system to the hosts of a subnet. For that I need to verify if the incoming request is from the IP which falls within the subnet. Is there some way to do that automatically using c# functionality.

Member Avatar for alc6379
0
177
Member Avatar for Dewey1040

Im really confused, I had this recursive add function working but my teacher wants us to be able to use ++ instead of + 1... anyone know why im getting a segmentation fault on this, i feel like this is a really dumb mistake. [code=C] int add( int n, int …

Member Avatar for Dewey1040
0
73
Member Avatar for roachae

I have two Windows forms. Form1 has a button which, when clicked on, opens up Form2 (which looks like a drop down/combobox type of control). Form2 is a grid of buttons that look like a telephone keypad. When one of these buttons is clicked on, Form2 closes and the text …

Member Avatar for dickersonka
0
140
Member Avatar for tomtetlaw

I am using OpenGL and i am trying to get this simple program to work, here is my code; [code=c++]void DrawScene ( void ) { glClear ( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ); glMatrixMode ( GL_MODELVIEW ); glLoadIdentity ( ); //Triangle glPushMatrix ( ); glTranslatef ( -1.0f, 1.0f, 0.0f ); glBegin ( …

Member Avatar for tomtetlaw
0
267
Member Avatar for thehivetyrant

I am trying to: [B]Implement an iterative Python function which returns the sum of the first n integers[/B] so far i have this: [code] i = 0 total = 0 def sum(n): while i <> n: total = total + 1; i = i + 1; return total [/code] then …

Member Avatar for scru
0
92
Member Avatar for kelechi96

What are and how do I use vectors ? I have read some tutorials on them but I don't understand fully how they work.

Member Avatar for Narue
0
117
Member Avatar for rmlopes

Hello, I developed an application in VC++ an now I want to compile it using GNU++ to be run on a ubuntu server (where I am actually trying tocompile it). After some syntax/usage corrections I get an error which I totally don't understand (and I don't have it in VC++, …

Member Avatar for rmlopes
0
122
Member Avatar for DaShiVa

Having an issue where both my xml and xsl are parsing fine (when viewed in firefox) but when combined together, throw an error: Error loading stylesheet: Parsing an XSLT stylesheet failed. (I noticed a suimilar post but was reccommended by the system to start a new thread, as it was …

Member Avatar for DaShiVa
0
115
Member Avatar for Alibeg

i am facing several problems.... first one is: how do i typedef a structure i've seen many ways to do it but im not quite sure which one is the right one. this is what i think how it goes (but dont know why it goes that way) [code=C] typedef …

Member Avatar for Alibeg
0
308
Member Avatar for kelechi96

Hello I have created a sucsessful prime number finder however I wish to retrive the start number from a file the last line shows how I tried to do this however it failed any solutions ? [code=C++]/* By Kelechi Nze My first prime project*/ #include <windows.h> #include <iostream> #include <fstream> …

Member Avatar for kelechi96
0
183
Member Avatar for f.ben.isaac

Please tell me what do you think of the written code below, is it easy to follow? Does the code tells you what it does, or you have struggled realizing whats going on? and so on. Feel free to give suggestions, tips, advices and criticize! This will help me and …

Member Avatar for f.ben.isaac
0
274
Member Avatar for beckman16

Hi, I have a client application that communicates with other server modules residing on other machines. In client application, I need to know the IP address of the machine it is running on, so that it would communicate its IP to the server module(which could be separated from client by …

Member Avatar for beckman16
0
358
Member Avatar for rudasi

Hi, Does anyone know how to view the allegro library. I wanted to make some changes which can help my game. Thanks

Member Avatar for rudasi
0
100
Member Avatar for greg022549

Going through one of my old .c file I have a line as follows: scanf("%i", &tside); I would like to convert it c++ code. Can someone show me how to do that? Sincerely, greg022549

Member Avatar for adam1122
0
118
Member Avatar for sid78669

Can some suggest a good way to cleanup the HTML that is output when a perl script is run using the CGI module? I tried to install HTML::Tidy, but couldn't as i was missing libtidy. And I don't want to go through 700 lines of code and putting up loads …

Member Avatar for sid78669
0
81
Member Avatar for f.ben.isaac

1. Simple calculator - nothing fancy [code]/**program description: * * simple calculator written for beginners. * This program asks user to enter an arithmetic * expression that contains two numbers and one * operator. User will be given the result of the * calculation. Operators allowed to be used * …

Member Avatar for tux4life
0
267
Member Avatar for vedmack

Hi Im trying to submit a form , which holds another form tags inside (i must do it this way) the problem is that this doesn't work on IE, while it works perfect on Firefox the button seems to have no effect on the page... its like it is not …

Member Avatar for newboi
0
274
Member Avatar for Q8iEnG

Hi mates :) how are you? I hope everything is all-right.. ;) I have a small question, it is my HW to be honest here is the question: "Write a method that calculates the following equation: f(x) = 1 if x = 0,1 √ f(x-1) + √ f(x-2) if x …

Member Avatar for Q8iEnG
0
109
Member Avatar for trtcom1

Hi there, I am trying to implement a confirmation dialog box before deleting a record in a table that have. I created a MYSQL table called manager with columns: [B]Table manager[/B] [I]managerID firstName lastName Department[/I] I use a while loop to display the records of every manager in the database …

Member Avatar for rm_daniweb
0
1K
Member Avatar for sreya.n

Hi all, i want to do pagination using jquery...I am not good in jquery but i would like to learn...so can u please send me the code... Thanx in advance

Member Avatar for sreya.n
0
101
Member Avatar for hurbano

this simple cout statement and i do not know why. the outputs are mixed up and i get some random numbers i didnt even input.please help [code=cplusplus] #include <iostream> #include <string> using namespace std; int main() { string Pname, CEmployer; int age; cout<<"Patients Name:"<<endl; getline (cin, Pname); cout<<"Age:"<<endl; cin>>age; cout<<"Current …

Member Avatar for tux4life
0
121
Member Avatar for Doctor Cactus

Hi, I am only beginning C#, so bear with me. I have been given this program to write. This is the question: Write a C# application called WRITENUM that inputs a number between 0 and 2,000,000,000 inclusive and outputs that number in textual form, as we would say it or …

Member Avatar for Doctor Cactus
0
78
Member Avatar for jam7cacci

my task is to sort the input numbers from lowest to highest but i just cant make it work... i've tried different ways and I know there's a problem in my code. hope you can help me out. thanks! [code] #include <iostream.h> struct trial { int age; } getcount[5]; void …

Member Avatar for jam7cacci
0
176
Member Avatar for shadowolf64

Hello everyone, I'm rather new at C# and programming in general, I have some experience with Java, PERL, and Python but I wouldn't consider myself an expert on any of them. I'm using C# because it is very similar to Java and it seems to be even easier to make …

Member Avatar for JerryShaw
0
132
Member Avatar for thehivetyrant

Hello there, I've a homework assignment from a while ago that asks [B]"Implement a recursive Python function which returns the sum of the first n integers"[/B] Now i just dont know exactly what it's asking and how to get started. Recursive functions, right (my thoughts so far is it'll look …

Member Avatar for thehivetyrant
0
127
Member Avatar for weblover

hi all...how are u? i have a question , i'm creatingn a php login system for a forum but i'm new in php and i'm not able to put session timing for the login ..i want when the user login to register the session and then after login in ..if …

Member Avatar for Designer_101
0
108
Member Avatar for kssi89

Hello everyone, I have been trying to create a .php page to catch information from a form and insert it into our local database. Normally I am able to catch the parse errors but this one points straight to the end of my code: [CODE]<?php require_once("includes/connection.php"); ?> <?php require_once("includes/functions.php"); ?> …

Member Avatar for Designer_101
0
111
Member Avatar for thacravedawg

I have an application I'm building that requires the use of array.binarysearch() to find strings from a combobox in an array and return the index value of the selection. Ie. the user selects a name from the combobox. I now need to use the name they chose and search an …

Member Avatar for thacravedawg
0
151
Member Avatar for srk619

need help on this question: Write a lexer to read in decimal numbers. If your input is the following string: “12345.9876” what do you have to do to each character in the string to generate your float? How are the numbers before the decimal point different to the numbers after …

Member Avatar for srk619
0
160
Member Avatar for totalnoob

Hi everyone! I'm getting this error all the time: Parse error: parse error, expecting `','' or `';'' in... I know that the problem is the href line, but since this is the first time I'm writing this kind of thing I can't write it correctly. This is the code that …

Member Avatar for totalnoob
0
121
Member Avatar for Aelphaeis

Hey, I'm a high school student who is fairly programming and I was curious as to how to input a single character without entered an End of Data marker (e.g. newline character/Enter) [CODE] #include <stdio.h> #include <stdlib.h> #include <ctype.h> int main () { char ch; switch (toupper(getchar())) { case 'A': …

Member Avatar for Aelphaeis
0
401
Member Avatar for vanessia_1999

Hi everyone, I am like so proud of myself because I am building a php web page. I get stuck now and then, but eventually get it after two or three days:( I have one big problem that I have put on the back burner for a while and I …

Member Avatar for vanessia_1999
0
183
Member Avatar for clutchkiller

When I declare an event table in a class a.k.a DECLARE_EVENT_TABLE(); then try to compile, i always get this error: [Linker Error] undefined reference to `vtable for Utility' (utility being my class) What does this mean and how do I fix it? All research on this has turned up dead …

Member Avatar for clutchkiller
0
229
Member Avatar for mg0959

Hey guys, I have a python script that I need to run on a windows machine when the computer boots up but before a user logs in. It is the server side of server/client program. The program needs to be able to write and read files, as the server program …

Member Avatar for mg0959
0
160
Member Avatar for totalnoob

Hi! I've made a members.php page that is supposed to show all the entries done by the user, in other words, the title, category and year of a movie. After login in the user clicks on a link (href="members.php") and is redirected to members.php. My problem is that the table …

Member Avatar for liranoz
0
98
Member Avatar for tomtetlaw

I am doind a tutorial, here is my code: [code=c++]#include "functions.h" #include <glut.h> #include <stdlib.h> //this is the function with the error: void HandleKeyPress ( unsigned char key, int x, int y ) { switch ( key ) { case 27: // escape key exit ( 0 ); } } …

Member Avatar for MosaicFuneral
0
66

The End.