199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for overwraith

I am creating a reporting engine, it is kind of novel. **The only question I have is what are some of the wierder scheduling related things you guys have seen for you cyclical computer programs to date**. I am trying to cover as many fringe cases as I can, and …

Member Avatar for rproffitt
0
298
Member Avatar for COKEDUDE

Whats the best way to removes values from array of strings? Is it better to create a new array of strings or is there some way to remove them?

Member Avatar for AssertNull
0
408
Member Avatar for Sammy_1

I am literary about to bleed...I have a single controller that will accept POST request from an external domain. Once the post data arrives (usually a number or a date), it returns json data. The problem is CORS error in firefoz and chrome. Only that controller is going to be …

Member Avatar for Rupsena
0
11K
Member Avatar for COKEDUDE

Why does order matter with this if else if statement? if((row1 = mysql_fetch_row(result1)) && adding_to_member_flag != 1) { printf("Do not update date since it already exists\n"); } else if(!(row1 = mysql_fetch_row(result1)) && adding_to_member_flag != 1) { printf("Update end_date and add new team\n"); } When I had it like this the …

Member Avatar for AssertNull
0
422
Member Avatar for Black Magic

Hey, i was just mucking around and improving my code etc and made a calculator, it's not the best calculator in the world, it only can handle 1 or 2 numbers but i think it's good my self :).

Member Avatar for Reverend Jim
0
5K
Member Avatar for NuGG

We have an Access mdb database originally built in the late 90s. We currently use MS Access 2000 on Win7. Since switching to win7 from XP the database keeps getting locked and corrupted and we are unable to open it. We then have to revert to backup copies made days …

Member Avatar for rproffitt
0
230
Member Avatar for roaa_1

define an array with 12 month/rows and 31 days/columns for a year's temperature data in a main function. One subtask is to write a function and call it from main reading a text file with mean temperature data of one year and store read data into this array. For example, …

Member Avatar for khai_2
0
622
Member Avatar for overwraith

I have a web application I am trying to obfuscate portions of it, but use library mode so that all the public portions of the application should appear with names unchanged so it is accessible to the web. So I am trying to obfuscate some parts and not others. The …

Member Avatar for rproffitt
0
2K
Member Avatar for COKEDUDE

My second while condition is being ignored and I don't understand why. I would think I have 1 and 0 = 0 so it would break out. while(fgets(line, sizeof line, stdin) && sscanf_counter != 2) { }

Member Avatar for rubberman
0
266
Member Avatar for Mira Kris

Hello there, I'm new to Java programming nd I wan't to learn more from it. May I ask you some tips in creating a Lucky Nine game in Java with AI as the other player. Thank you so much for you help.

Member Avatar for stultuske
0
381
Member Avatar for manisha

Hi, I want to start the command prompt window from my java program. Tried using Runtime but its not working.These are my codes : [code]String command = "cmd.exe"; try { child = Runtime.getRuntime().exec(command); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); }[/code] Actually, its working when i …

Member Avatar for stultuske
0
2K
Member Avatar for Talruk

For some reason the make_great function is not affecting the output of the show_magicians function. I'm trying to alter the list but it's not working. # the make_great function is not affecting the show_magicians function as # intended magicians = ['david', 'caroline', 'benjamin', 'alex', 'steve'] def make_great(magicians_to_change): for magician in …

Member Avatar for rproffitt
0
285
Member Avatar for Dietrich_1

So I am having trouble knowing what to return in the bottom method any help would be appreciated . Here are the specifications for completing the StringArray class: (a) In the class StringArray write method numInArray,using the method signature below. numInArray should return the number of times the string s …

Member Avatar for JamesCherrill
0
887
Member Avatar for COKEDUDE

I am trying to print my data in columns. For some reason every column but the last one lines up. Is there a way to fix this? while ((row = mysql_fetch_row(result))) { //printf("198\n"); for(int i = 0; i < num_fields; i++) { //printf("----------\n"); printf("%25s ",row[i]); if(row[i] == NULL) { printf("No …

Member Avatar for cereal
0
254
Member Avatar for Royal_3

hi programmers in the code below i want to use font awesome in comment out put , storyReactionNum >= 4 ? comment = 'HOT <i class="fa fa-star" aria-hidden="true"></i>' but the font awesome is display as text ,here is the full code <div class="comment-info"></div> <script> var storyReactionNum = {{STORY_REACTIONS_NUM}}; var comment; …

Member Avatar for Royal_3
0
266
Member Avatar for COKEDUDE

I am trying to set a record back to null. I was able to change it from null and now I want to change it back to null. For some reason it is not working. This worked perfectly fine: UPDATE members set end_date = "2017-01-18" where player = 1 and …

Member Avatar for COKEDUDE
0
293
Member Avatar for Fayza_2

please help me ... i have a problem in my VB.net software when i transit it to another computer the crystal report asking for userName and PassWord . I programming it by visual Basic and Access DB .

Member Avatar for rproffitt
0
302
Member Avatar for Moksuhd

Hi guys, This is my first post and basically i require some help editing my current code to help display number of students with a mark of 40 or above specifically. And also i am having difficulty generating a average i thought i done it but it remained constant a …

Member Avatar for JamesCherrill
0
446
Member Avatar for maylynn

Hi all. I need some help. I want to display username after user has login. I am currently using Visual Studio and Javascript. Not using any PHP page. What should i do? This is my home.html page: <!DOCTYPE html> <html> <head> <!--Customize the content security policy in the meta tag …

Member Avatar for pty
0
5K
Member Avatar for erum

i write certain piece of code using mvc 4 and jquery and jtable ,but data is not visible in grid ,only blank grid is present , (No data available!) although i have updated all references of jquery in vs 2012 , action method is showing 3 records at quick watch …

0
168
Member Avatar for SimonIoa

Hello i am getting these error node sass could not find a binding for your current environment windows 64-bit with unsupported runtime (59) when i am typing `ionic serve` on my command prompt does anyone knows how can i fix it?

Member Avatar for hericles
0
398
Member Avatar for Paul Brian

convert from: loops properly convert to: loops back to from (should just loop back to convert to:) need some guidance #include<iostream> using namespace std; int main() { int num; char ch='y'; int amount; int choice1,choice2; while(ch=='y'||ch=='Y') { do { system("cls"); cout<<"\t\t|DLSL CURRENCY EXCHANGE PROJECT |"<<endl; cout<<"convert currency from: "; cin>>choice1; …

Member Avatar for tinstaafl
0
248
Member Avatar for 小名

I can't slove this problem my code print nothing what's wrong with it ?? #include <stdio.h> #include <string.h> #include <ctype.h> #define total 1000 int weight (char word[total]) { int i; int sum; for (i=0;word[i]!='\0';i++) { sum+=i; } return sum; } char *getword (char temp[total]) { static char max[total]={'\0'}; int lenth,maxlenth; …

Member Avatar for 小名
0
1K
Member Avatar for COKEDUDE
Member Avatar for rproffitt
0
1K
Member Avatar for ajit.nayak

I am using Mplab x Ide with v3.61 on Xc8 compiler, PIC18F24K40. I used MCC generated UART code for send and receive data. For understanding I am clubling my code and posting part of it. My main code look like this #include "mcc_generated_files/mcc.h" #define EUSART_TX_BUFFER_SIZE 8 #define EUSART_RX_BUFFER_SIZE 8 /** …

Member Avatar for itnavigate
0
3K
Member Avatar for aya_5

`.model small .stack 100 .data kernel DB 10 DUP(1) input DB 1, 2, 3, 4, 5, 6, 7 output DB 0, 0, 0, 0, 0, 0, 0 .code MAIN PROC FAR MOV AX, @DATA MOV DS, AX LEA BX, input LEA DI, output MOV AX, 0 ;1st element starts here …

Programming assembly
Member Avatar for itnavigate
0
456
Member Avatar for Trevor_4

<!doctype html> <html lang="en-US"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Empathy</title> <link href="template.css" rel="stylesheet" type="text/css"> </head> <body> <div class="container"> <header> <a href=""> <h4 class="logo"> <img src="page-1_2.png" width="113" height="28" alt=""/> </h4> </a> <nav> <ul> <li><a class="Abouth-Empath" href="empathy.html#about" >About Empath</a></li> <li><a class="How-It-Works" href="empathy.html#How">How It Works</a></li> <li> <a class="Contact" …

Member Avatar for NetJunkie
0
315
Member Avatar for wikit

So I have website listing characters from a multi person RP I take part in the site uses bootstrap as well as a mysql database. I have a working search script to search teh database for a query and echo the results. I'm trying to figure out how to make …

Member Avatar for benanamen
0
449
Member Avatar for SimonIoa

I tried to run an Ionic 3 project from existing files using not C++ but Apache/Cordova and i am getting these errors. Idid a Typescript project works fine. But Cordova won't run with Javascript? Severity Code Description Project File Line Suppression State Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various …

Member Avatar for SimonIoa
0
1K
Member Avatar for SHEKINA

python code implementation of firefly algorithm for feature selecting the hepatitis dataset

Programming algorithm dataset python
Member Avatar for happygeek
0
191
Member Avatar for davy_yg

Call to undefined function routes() (View: C:\xampp\htdocs\Julmarice\framework\resources\views\soulfy\apages.blade.php) Why this is undefine? apages.blade.php <form action="{{ routes('navcolor') }}" method="post"> <div style="color: white;">Select Pages Navigation Color :</div> {{ csrf_field() }} <select name="NavColor"> <option value="black">Black</option> <option value="blue">Blue</option> <option value="gray">Gray</option> <option value="brown">Brown</option> </select> <input type="submit" value="Submit"><br><br> </form> routes.php Route::post('/home/navcolor', 'SettingController@postNavColor')->name('navcolor'); SettingController.php public function postNavColor(Request $request) …

Member Avatar for davy_yg
0
7K
Member Avatar for dongtrien

I am creating a dll library that impacts SQL Server on Northwind data, when run in VS2005 C# gets this error: Use 'dbo' could not execute stored procedure 'master.dbo.sp_enable_sql_debug' on SQL Server (local)\sqlexpress. Click help for more information. How to fix this ?

Member Avatar for dongtrien
0
258
Member Avatar for kozkay

I'm new to the forum and new to web development, I have an ecommerce store on prostores and I recently purchased a PHP based 5 star review script for my website. I then gave it to my web developer to implement it and he came back to me saying that …

Member Avatar for Arthur_4
0
5K
Member Avatar for leya_1

I need to differentiate image between 2 file upload control: FileUpload1 and FileUpload2. My current code works fine but it actually upload images from both FileUpload1 and FileUpload2. How do I specify the file from FileUpload1 and FileUpload2. Below is my current code: Dim hfc As HttpFileCollection = Request.Files Dim …

Member Avatar for rproffitt
0
236
Member Avatar for Ayaka

i need someone who can give me his email so i can send my timetable generator software that is given me errors. please anyone who can be of assistance, i will be grateful.

Member Avatar for rproffitt
0
635
Member Avatar for SimonIoa

Hello i am getting an error on log about npm... Any suggestion? PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Web\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\cmd;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\bin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Web\External\npm.CMD" install npm WARN deprecated babili@0.0.10: babili has been renamed to babel-minify. Please update to babel-minify npm WARN engine …

Member Avatar for SimonIoa
0
865
Member Avatar for andreiviziru

this is the code that works if (isset($_POST['add_to_cart'])) { if (isset($_POST['select_size']) && isset($_POST['select_color']) && isset($_POST['select_quantity'])) { $size = $_POST['select_size']; $color = $_POST['select_color']; $quantity = $_POST['select_quantity']; if (isset($_GET['lang'])) { $the_lang = mysqli_real_escape_string($connection, $_GET['lang']); if ($the_lang == 'ro') { $product_name = $product_name_ro; } else if ($the_lang == 'en') { $product_name = $product_name_en; …

Programming php session
0
162
Member Avatar for Dietrich_1

So I have a project with a tester that is not displaying what I thought it would display. The project description and everything is as follows: Given an array of integers, how can we make some basic statistical calculations on the data? Specifically, we want to be able to determine …

Member Avatar for hericles
0
11K
Member Avatar for JModak

Procedure or function P_UpdatePurchaseInv_test has too many arguments specified. ALTER PROC [dbo].[P_DeleteForUpdatePurInvDet] --Purchase Invoice Details 12 pic(13pic active) --@purid int , --@purinvid varchar(255), @purinvdt date, @invno varchar(255), @invdt date, @nrr varchar(200), @partyIDpur int, @invtypidpur int, @tottaxblamt decimal(18, 2), @nettaxamt decimal(18, 2), @invamt decimal(18, 2), @totalcgst decimal(18, 2), @totalsgst decimal(18, 2), …

Member Avatar for hericles
0
370
Member Avatar for FarrisFahad

After I updated my wordpress I got a lot of 404 on my Google Analytics account eventhough pages are working just fine. Can anyone help me? Here is my site: [Click Here](http://galleryautomo.com/) It does not happen for all pages, only few. I don't want to lose organic traffic. Have you …

Member Avatar for rproffitt
0
311
Member Avatar for davy_yg

Cek this code : @section('content') <div id="page"> <div class="container"> <section id="container" v-show="visiblePage"> <div class="row"> <div class="col-sm-4"> <img src="{{url('')}}/images/binder.png"> </div> <div class="col-sm-4" style="background-color: #f8f8f8; height: auto;"> <br> <ul class="b"> @foreach( $pages as $p) <li><a href="{{url('')}}/home/pages/{{ $p->id }}">{{ $p->pages_name }}</a><br> @endforeach </ul> </div> <div class="col-sm-4" style="background-color: white; height: auto;"> <center><b>{{ $pages2->pages_title }}</b></center><br> …

Member Avatar for gentlemedia
0
347
Member Avatar for jnneson

Hello, Please, i dont know why my implementation is failing the testDemo Fucntion.. Below is the full code. it is Failing operator < .... testLessThan interface: #ifndef DATE_H_ #define DATE_H_ #include<iostream> using namespace std; class Date; ostream &operator<<(ostream&, const Date&); istream &operator>>(istream&, Date&); class Date { private: int month; int …

Member Avatar for jnneson
0
312
Member Avatar for Mohsen_3

Hello, I do not know anything about Thread. And I know this question is answered in many forums, but nothing worked for me. My calculatins are very complex and long and I need at the start of calculations, a progress gif in a picturebox set to visible, and at the …

Member Avatar for Felix Green
0
282
Member Avatar for Reginald Xavier

please someone should loop this code for me in c#. double chick2 = (Convert.ToDouble(f2.dataGridView1[1, 0].Value)) * (Convert.ToDouble(f2.dataGridView1[3, 0].Value)); dataGridView1[4, 0].Value = chick2; dataGridView1[5, 0].Value = chick2; dataGridView1[6, 0].Value = chick2; dataGridView1[7, 0].Value = chick2; dataGridView1[8, 0].Value = chick2; they all have same value and i dont know how to loop …

Programming c#
Member Avatar for Felix Green
0
896
Member Avatar for Ivan_17

I have the following code I wrote on windows 7: canvas_width = 150 canvas_height = 150 brush_size = 3 color = "black" def paint(event): global brush_size global color x1 = event.x - brush_size x2 = event.x + brush_size y1 = event.y - brush_size y2 = event.y + brush_size w.create_oval(x1, y1, …

Programming macos python
Member Avatar for Ivan_17
0
362
Member Avatar for Jack_30

I need a function that will create and store usernames and passwords for different students. Their programme should ask the user for their name and age and a username should be created, consisted of their name and age eg. Jack16. They then can make up their own password which then …

Member Avatar for benanamen
0
566
Member Avatar for lucy nana

I facing a problem with checkbox value that already exists inside the database. so how can I retrieve those value into another database table? The table subject and service below is what I want. But based on the code below the SERVICE TABLE on SUBJECTID COLUMN producing null value. How …

0
452
Member Avatar for victoria_5

i made a property tax program but now i have to use it with pointers. i have to use 3 functions inputtotalsales,calculatetaxes,and displaytaxes.It was easy for me to do this the regular way but im having an issue with pointers . im getting errors saying redeclaration of statetax and countytax …

Programming c
Member Avatar for tinstaafl
0
361
Member Avatar for Charles_25

**The Problem:** I have a long string of serial numbers, that looks like this: "1_2_3_4_5 0_100_1_0_4 1_2_3_4_5 0_100_1_0_4 0_100_1_0_4 3_1_34_5_6"; I want to remove all serial numbers that do not occur EXACTLY 3 or 1 times in the string. **The Result:** In this case the return string should be: 0_100_1_0_4 …

Member Avatar for happygeek
0
1K
Member Avatar for Guilherme_1

Hello there! I'm wondering what are the options I have. My skills are not adequate for this kind of task. But I'm thinking now about either seeking for a partner with sufficient skills or hiring team of developers. In both cases what could you advise? What competence is needed for …

Member Avatar for Marcus_4
0
694

The End.