Member Avatar
Featured hericles 289 Replied To a Post in node sass problem on Node
Topic by SimonIoa in Software Development
Trying running
`npm rebuild node-sass`

It should help rebuild the correct binding for your setup. Reply by hericles
Member Avatar
tinstaafl 986 Replied To a Post in do while if problem
Topic by Paul Brian in Software Development
c++
Your main problem appears to be, you're using one loop, but expect it to return to 2 different places. Using one loop just for the first choice and a second loop for the second choice, will fix the immediate problem.

However, you should probably think about refactoring, and use a … Reply by tinstaafl
Member Avatar
Tarek_2 26 Replied To a Post in Histogram program help
Topic by Moksuhd in Software Development
In the first loop, you have a block so, I think it must be :


do {
//
}while( //condition);

In the second loop, I don't get the first line :


mark += ranges.length;

I think you must rethink a good part of the program. Reply by Tarek_2
Member Avatar
Tarek_2 26 Replied To a Post in while multiple condition help
Topic by COKEDUDE in Software Development
c
And I will add the following : in the begining, the first version of your code, it is recommanded to not mix actions; separate reading from checking. Read what you need to read then check the result in the while condition even if that means you need to put the … Reply by Tarek_2
Member Avatar
Tarek_2 26 Replied To a Post in do while if problem
Topic by Paul Brian in Software Development
c++
First, choice2 is supposed to be an integer (int) but in the while condition, we can read (choice2=true)
Second, choice2=true is not a comparaison, it is always true. I think you should use choice2==true and here again choice2 is supposed to be compared to an int value not a boolean … Reply by Tarek_2
Member Avatar
Featured SimonIoa 48 Created node sass problem on Node
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? Topic by SimonIoa in Software Development
Member Avatar
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 . Topic by Fayza_2 in Software Development
Member Avatar
Fayza_2 Joined the Community
Member Avatar
Is anyone familiar with Microsoft Remote Desktop? I'm referring to the application with the name MSTSC.EXE. I used this years ago at the office to remote into the servers from home but MS has made changes since then.

I have one laptop downstairs that is usually unattended and I have … Topic by Reverend Jim in Hardware and Software
Member Avatar
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; … Topic by Paul Brian in Software Development
c++
Member Avatar
Topic by maylynn in Mobile Development
I wanted to it to display the username at the top corner like "Welcome, [Name]".

Above are my home.html page.

This is my login.js:

(function () {
"use strict";

var userid;
var password;

$(document).ready(function () {

$("#LoginForm").validate({
messages: {
txtLogin: "User ID is required",
txtPassword: "Password is required",
},
focusInvalid: … Reply by maylynn
Member Avatar
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 … Topic by maylynn in Mobile Development
Member Avatar
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 … Topic by maylynn in Mobile Development
Member Avatar
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 … Topic by maylynn in Mobile Development
Member Avatar
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 … Topic by maylynn in Mobile Development
Member Avatar
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 … Topic by maylynn in Mobile Development
Member Avatar
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 … Topic by maylynn in Mobile Development
Member Avatar
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 … Topic by maylynn in Mobile Development
Member Avatar
maylynn Joined the Community
Member Avatar
pty 448 Replied To a Post in output code in VSC
Topic by Siberian in Programming
Without knowing what you've done it's difficult to diagnose anything. Did you install [this](https://code.visualstudio.com/docs/languages/python)? Reply by pty
Member Avatar
Ronen_1 Joined the Community
Member Avatar
Topic by Siberian in Hardware and Software
I'm running Windows Memory Diagnostics; in hopes, it gives me an error. If there is no error then I don't know what hardware is failing I'm a a loss. Reply by Siberian
Member Avatar
Siberian 13 Replied To a Post in output code in VSC
Topic by Siberian in Programming
I just want to get VSC setup so when doing something like print("hello mango") I see the result. I've been searching for someone who could answer my VSC questions. Reply by Siberian
Member Avatar
Topic by Siberian in Hardware and Software
I've checked event log etc. If this helps, some programs that run in the notification area have occasional animated icons; when I must restart the computer those notification icons stop animating they stick.

What if for months I was over heating the CPU due to circumstances I couldn't resolve the … Reply by Siberian
Member Avatar
Labinot Joined the Community
Member Avatar
aya_6 Joined the Community
Member Avatar
rproffitt 1,011 Replied To a Post in while multiple condition help
Topic by COKEDUDE in Software Development
c
Look carefully at your use of left and right parentheses on line 1.

Did you mean to compare gets(line, sizeof line, stdin) && sscanf_counter to not be equal to 2?
Or did you mean gets(line, sizeof line, stdin) then and the next condition.

Be clear about that. Don't rely on … Reply by rproffitt
Member Avatar
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)
{
} Topic by COKEDUDE in Software Development
c
Member Avatar
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)
{
} Topic by COKEDUDE in Software Development
c
Member Avatar
hericles 289 Replied To a Post in printf with question mark and NULL
Topic by COKEDUDE in Software Development
c
That format is called a ternary operator. It's a version of an if/else statement.
`row[i] ? row[i] : "NULL"`
is the same as

if(row[i]) {
// use value row[i]
} else {
// use value "NULL"
} Reply by hericles