199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Betty96

Implement a C function that can perform addition of two 15-digit (positive) integers. As in C the maximum integer number that can be stored in memory is 2147483647 it is not possible to use primitive data types in order to add very large whole numbers. For this reason, you are …

Member Avatar for David_50
0
189
Member Avatar for leghorn

Hi I need to create a desktop application for a small scale firm.Its more of an inventory managemnt sort of app. I need to keep a tab on various parameters-some arithematic,others strings. I need to input these values in and retrieve the information - at that time, or months later. …

Member Avatar for sbesch
0
287
Member Avatar for CaffeineCoder

OK, taking a chance that someone out here will know the answer on this. I inherited a Joomla 2.5 site, and am trying to change the title on the page that's in an H1 heading. The title isn't in the module, and it isn't in the article. Any Joomla pro's …

Member Avatar for CaffeineCoder
0
190
Member Avatar for vegaseat

For those of you who are inquisitive, here is a little Python program to approximate the value of pi to 77 digits. You can easily go further, just change the value n in range(n+1).

Member Avatar for sneekula
0
3K
Member Avatar for jeram.burbon

I am trying to output how many students were processed, how many of the students had a February 29th birth date and the birthdate of the oldest student. I figured out how to output the first two except how to output the oldest student. is the ckOldestBirthDate and updateoldestBirthDate in …

Member Avatar for stultuske
0
534
Member Avatar for EarlZhaoy
Member Avatar for MasterHacker110

Recently I've been fooling around with some fun mathmatic (dont knwo if that is even a word) stuff. I recently took on the task of trying to calcualte PI. I have a very simple program in python that does this for me: import math from datetime import datetime top = …

Member Avatar for sneekula
0
351
Member Avatar for andruluchko

Hello. I have to print information (Full name. date of birdth, count of children) using output operator overloading. But i get two errors: "no instance of constructor matches the argument list" and "cannot convert from int to int". I have to use public and private modificators too. Can you show …

Member Avatar for Moschops
0
188
Member Avatar for bballmitch

Alright, so im making falling numbers and i need to display points while its running. in the code its keeping track, but i have no way of displaying it. in regular C++ i would just do cout<<score; but in openGL it doesn't work that way as most of you know. …

Member Avatar for TWAT
0
2K
Member Avatar for Trle94

Hello there, I have this code: If listItem.SubItems.Item(0).Text = " " Or listItem.SubItems.Item(0).Text = "" Then ListView1.Items.Remove(listItem) End If Now is it possible to make somehow to it actually count how much items got removed ? Want to show it example as: 'Clearing completed. XX Lines were removed.'

Member Avatar for Begginnerdev
0
147
Member Avatar for owenransen

It seems to me that the Audio object can not be easily played inside a JavaScript callback when running on a mobile device. The code below shows an onload function which, on a PC, plays the sound when the web page is loaded, but on Android phones plays nothing. My …

Member Avatar for owenransen
0
317
Member Avatar for belal_2

i am using page view in android and i view in this page viewer an images. so i want to make event for on click. however, i call the image from another class like root view and i want the response of event from main class openoptionmenu() so i is …

Member Avatar for peter_budo
0
207
Member Avatar for fireburner29

Hi there, Sorry for bad english, I using blockcategories module in left menu Prestashop. I just want to fetch products name, when i clicking on category left menu. Specified Codes for your reference. Thanks in advance. modules/blockcategories/category-tree-branch.tpl {* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source …

0
142
Member Avatar for infiniteloop56

Hi guys, I have some what of a quick/dumb question. How would one traverse a binary search tree using a loop instead of recursion (An algorithm would be vwry useful if possible)? I appreciate any help . Thanks

Member Avatar for JamesCherrill
0
5K
Member Avatar for ezekel

Hello daniweb experts, I would like to ask some help or some idea on how can i send data via post to my webpages if there is session....the webpage(http://mysite.com/adduser.php) is checking if the login user is already have session. I want my android apps can send data to the adduser.php,but …

Member Avatar for cool_zephyr
0
103
Member Avatar for Leo_5

How to rollback the transaction while spring controller has runtime exception... i found some snippet from google i.e, @Transactional(rollBackFor = Exception.class) I think this only applicable for service class has the exception. I need to rollback controller class has any exception. forexample @controller public class test1 { public void testing() …

Member Avatar for cool_zephyr
0
805
Member Avatar for david.nicely.393

i have my algorithm but i can't get the flowchart to come out. Main() Declare Sticker_Price as Real Declare Discount_Percent as Real Declare Tax_Percent as Real Declare Tag_Color as Character Declare Answer as Character Declare Final_Price as Real Set Tax_ Percent = 0.07 Final_Price = 0.00 Repeat Process Get_Price(Sticker_Price) Process …

Member Avatar for patrick.sylvester.90
0
155
Member Avatar for PornimaKolte
Member Avatar for necrovore
0
93
Member Avatar for anubhavat

Hi, i want to submit list of object of selectted check box and want to receive same object in controller from jsp. Jsp Code-><form name="multiCheckBox" method="post" action="multiCheckbox.html"> <table> <th>Below are the list of items with status</th> </tr> <tr> <td>Select</td> <td>Print Strip</td> <td>Planogram DB Key</td> <td>Planogram Name</td> <td>Planogram Description</td> <td>Status</td> <td>Print …

Member Avatar for anubhavat
0
204
Member Avatar for batoolhussain

hi all .I am trying to detect the edge using canny edge detection algorithm, I convert the image to gray and remove the noise and passing the sobel filter. but when I arrive to apply Non-maximum suppression, I didn't know how do it. please help me. I use vb.net 2010.

Member Avatar for batoolhussain
0
853
Member Avatar for akuma_reen

hi i'm having trouble in sorting the text file in inorder traversal can anyone help me out? code: #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> struct TreeNode; typedef struct TreeNode *node; typedef char ElementType; struct TreeNode{ char element; node left, right; } *root; node insert(ElementType x,node t){ …

Member Avatar for akuma_reen
0
118
Member Avatar for vivekH

Apply undo,redo operations on string pool. please friends help me to get its answer.

Member Avatar for janissantony
0
139
Member Avatar for lea_1

Hey, all! I'm trying to figure out how to add collision detection to the following code but I'm having trouble trying to figure out how to pull in the x and y coordinates of the different eggs that are falling randomly. Would you be able to tell me what I'm …

Member Avatar for janissantony
0
861
Member Avatar for cannon_1

Currently, I have a c++ program to call an external program, wait for it to finish, and return the string that was supposed to print on the screen by the external program; string result_now=exec("./CCLS_to_akmaxsat "+softer_filename); std::string exec(std::string command) { //cout << "\n\nEvaluating command: " << command << "\n\n" << endl; …

Member Avatar for tinstaafl
0
336
Member Avatar for cambalinho

i did 1 code for give me the menu position. but i'm getting problems compare the LPSTR or LPCSTR with string :( int GetMenuPosition(HMENU menu, string caption) { int i=0; for(i=0; i<GetMenuItemCount(menu)-1;i++) { MENUITEMINFO s= {0}; s.cbSize=sizeof(MENUITEMINFO ); s.fMask=MIIM_STRING; s.cch=strlen(strCaption.c_str()); //s.dwTypeData=(LPSTR)strCaption.c_str(); GetMenuItemInfo (menu,i, true, &s); string b=static_cast<char*>(s.dwTypeData); if(b==caption) break; } …

Member Avatar for cambalinho
0
866
Member Avatar for polar2323

I'm pretty new to Java and I'm taking a class where I need to program an 8-Puzzle Problem in Java. I would love to be able to program it Java in Processing so that I could see the movment of the blocks. I'm generally a vidual learner.

Member Avatar for Taywin
0
199
Member Avatar for Kparas

Hi all, I want to import a .csv file into mysql database with using php code. How i can do this . what php code i will have to use for this. Please help me to do this. Because i have thousand of records which is in .csv file format. …

Member Avatar for rahulnamdev
0
488
Member Avatar for abdalimran

I've written the following program..but it doesn't work. Why? It shows an error: `cannot convert ‘std::string* {aka std::basic_string<char>*}’ to ‘std::string** {aka std::basic_string<char>**}’ for argument ‘1’ to ‘void print(std::string**)’|` #include <bits/stdc++.h> using namespace std; void print(string *ar[]) { for(int i=0; i<5; i++) { cout<<*ar[i]<<endl; } } int main() { string s[5]; …

Member Avatar for NathanOliver
0
298
Member Avatar for MasterHacker110

I'm trying to create a very simple enigma machine cipher. But mine doesn't decrypt the data correcly. #include <iostream> #include <string> using namespace std; const char alphabet[27] = { "ABCDEFGHIJKLMNOPQRSTUVWXYZ" }; const char reflector[27] = { "WSXRFVYHNIKPQAZEDCTGBUJMOL" }; const char rotors[27] = { "QWERTYUIOPASDFGHJKLZXCVBNM" }; /* Get the position of …

Member Avatar for tinstaafl
0
305
Member Avatar for redtribal23

I am trying to read a line of numbers in string datatype then parse them into double before reading the next line. I get a nullpointerexception. I am trying to read numbers 4 5 2 first, parse them to double, then do some other calculations before going to the second …

Member Avatar for Taywin
0
194
Member Avatar for sami saba

hey there i find it difficult to write pseudocode of two stacks that sum two binary numbers and print the answer i can use a third stack for help. for example S1 is 11001110 and S2 101010 the answer will print 11111000 please help me with that

Member Avatar for Taywin
0
216
Member Avatar for rayan22

Cant calculate the weighted average score for each category and the total score for the student or assign a letter grade. package teacher_grade; import java.util.Scanner; public class teacher { public static void main (String[] args) { //Scanner objective Scanner Scanner = new Scanner (System.in); double assignmentScore; double quizScore; double midtermScore; …

Member Avatar for Taywin
0
136
Member Avatar for Siberian

Hi, I was informed the only way to get [this](http://cssdeck.com/labs/navigation-dropdown-with-flip-effect) drop down to work on Andriod, WP & to a larger extent iPhone is though JS, I was hoping someone could lead onto what that problem may be ?

Member Avatar for Siberian
0
262
Member Avatar for hallianonline

While genrating sitemap using php and mysql i am tottaly stuck with the errors in this, my requirement was to gerante multiple files sitmaps with the sitemap index if urls are greater than 5000 but this code i followed from a site totaly stucks me with errors please help me …

Member Avatar for Taywin
0
165
Member Avatar for MasterHacker110

I've been messign around with Python a little recently. Though I now want to import one of my .py files into my "main" file, but I get an `"module" object is not callable` error. How do I actually do this then. My files: KeyGenerator.py main.py Code I use to import: …

Member Avatar for MasterHacker110
0
343
Member Avatar for YorkshireSpud

Im personally learning how to program in python though I do know of other languages. Is Python the best to learn off?

Member Avatar for vegaseat
0
281
Member Avatar for cVz

Hi guys, Stupid Question.... How can i group specific rows in a cxGrid (Express Quantum Grid 6)... this event will occur onClick... any ideas ??? Delphi 7....

Member Avatar for pritaeas
0
657
Member Avatar for rayhaneh

I'm new at C++ ..and I dont know what should I do whith my program ... this program's input for exg. is: 5 mary sara kimi lili olive : : and then sorting them .. but my problem is that when I submit my home work they score me "0" …

Member Avatar for rayhaneh
0
227
Member Avatar for MrSchmutz

Hi.I'm 16 years old and i am studying c++ at highschool.The thing is i really think what we do at class is really...useless(and easy). I mean i don't think it will help me a lot if i want to create an application... What should i learn? Where from? What do …

Member Avatar for Anton_4
0
255
Member Avatar for clife

Hi, The meaing of ^[0-9] is to exclude the characters specified in the [..], but what is the meaning of ^[0-9][0-9]*$. The expression is used to get the process information from /proc , it lists all the PIDs of all running processes with some appended text. but could not understand …

Member Avatar for clife
0
663
Member Avatar for ajabbar92

I want start on driver development, but I am not getting any beginer tutorial or book, where I can some sample app. If any body have any good resource kindly share.. Thanks in advance.

Member Avatar for ajabbar92
0
56
Member Avatar for rpv_sen

Hi Can anyone please help me on below issue I have created a website with PHP & MySQL. Its look like an Desktop Applications

Member Avatar for hericles
0
122
Member Avatar for GoneGirl

Hi guys, After 10 days of googling and trying I finally must ask. This is not an assignment for school but its a practise one for the upcoming assignment in a few weeks. So i have the weights of 200 oranges in a csv file. With this csv file i …

Member Avatar for GoneGirl
0
2K
Member Avatar for aluhnev

//Hi all,could someone explain the make_shared(), is it used to substitute constructor? //Here is an example void DoAddStaff(vector<Ptr>& container) { cout << "\nEnter type of employee to add ('W' for waged, 'S' for salaried): "; char c; cin >> c; cin.ignore(); if( c == 'w' || c == 'W' ) …

Member Avatar for vijayan121
0
251
Member Avatar for MasterHacker110

I am working on a little project of mine. Nothing major, just messing around with encryption etc... I have problem thoug. My methods do not change the values of my data. Meaning that the pointer that I pass to hold my encrypted data, doesn't get the data assigned to its …

Member Avatar for MasterHacker110
0
179
Member Avatar for Dragennd

Hello all, zoidmaster here. I have a question regarding work with a MS Access database. I have the code written out from a tutorial I found online for a basic database, however all it can do with the database is read, add and delete lines from it. I'm trying to …

Member Avatar for Dragennd
0
475
Member Avatar for My_1

How do you via for loop to get the number? I know how the for work. for (int i = 0; i < 256; i++) { System.out.print (i) //That will print out 0 to 255 } how do you read by as byte while (read is not end) { // …

Member Avatar for JamesCherrill
0
77
Member Avatar for Lee21

[QUOTE]guys, i need help on passing multiple values in a parameter field in crystal report viewer, I already set it to allow multiple values. When the code below executed it only displays the last record and not all of the records that appeared. here's my code. hope you help me …

Member Avatar for mankuji
0
1K
Member Avatar for Daniel_31

I really would like to know the best way of going about this issue I need to union 2 select statements and then do a select statement from result of the union

Member Avatar for janissantony
0
224
Member Avatar for Febel

I want to find who is the heaviest borrower among the student and displaying Sname and heavy count. I have the following tables. tablename student having attributes SID,Sname,Spho. tablename sborrow having attributes SID,CDID,borrow_date,return_date. tablename Cd having attributes CDID,title. I have executed the following query in Mysql but it gives me …

Member Avatar for janissantony
0
295

The End.