HI, I'm just new to c (programming in general), and I am wondering why getche() echoes every character that I type but not 'Enter' key. Isn't 'Enter' key a character? And also, why does getchar() **-which requires to press enter after typing a character-** echo the 'Enter' along with the typed character (while it shouldn't because that 'Enter' is for finishing getchar() function)? Here is the code for getchar() function- {printf("Hello"); getchar(); getch();} The output I get is- >Hello >a > I want to know why it echoes 'Enter' key when pressed after a character? And why getche() doesn't (when …

Member Avatar
Member Avatar
+0 forum 6

I have used the breadcrumblist mentioned by the schema.org for my [[website](www.xenex-media.com.au)](https://xenex-media.com.au/) <script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://xenex-media.com.au/" },{ "@type": "ListItem", "position": 2, "name": "About Us", "item": "https://xenex-media.com.au/gold-coast-web-designers/" },{ "@type": "ListItem", "position": 3, "name": "Our Services", "item": "https://xenex-media.com.au/digital-marketing-agency-gold-coast/" },{ "@type": "ListItem", "position": 4, "name": "Contact Us", "item": "https://xenex-media.com.au/contact-us/" }] } </script> And this is the result showing in Google searches: https://i.imgur.com/wYTqfZ7.png What is missing? Please guide. Regards.

Member Avatar
+0 forum 0

Firstly a little overview - my site uses Wordfence (this is not the issue - just the reason for this to begin with) -- Even if Wordfence is disabled this should still work. *its just what brought this to light.* And... I have been getting numerous login attempts from different places and IP's using the hidden password recovery, or simply force loading names into the admin page. I have seen a pattern emerging, whereas the popular name tries are: administrator, wpadmin, admin, wpadministrator, and a few others. Sometimes in the range of 150+ an hour, quite amazing, and annoying at …

Member Avatar
Member Avatar
+1 forum 3

hai all, i want to know the system user name and password when iam running the web page in jsp to oracle thanks.

Member Avatar
Member Avatar
+0 forum 1

I was looking for open source projects on google and found this platform crowdsourcer.io is there anyone with experience using the platform? I plan to contribute to a game project there.

Member Avatar
Member Avatar
+0 forum 1

I need to redirect users to two (2) different pages based on the roles given to them in the database. Only the email and password is submitted on the login page. I have to fetch the role from the database which looks like this: Email | Password | UserType aa@me.com xxxxxx System User bb@me.com xxxxxx Administrator And here is what I have done so far: <?php session_start(); error_reporting(0); include('includes/dbconnection.php'); if(isset($_POST['login'])) { $email=$_POST['email']; $password=md5($_POST['password']); $query=mysqli_query($con,"select ID from gts_users where Email='$email' && Password='$password' "); $ret=mysqli_fetch_array($query); $count=mysqli_num_rows($query); if($ret==1){ $_SESSION['detsuid']=array( 'Email'=>$ret['email'], 'Password'=>$ret['password'], 'UserType'=>$ret['role'] ); $role=$_SESSION['detsuid']['ID']; switch($role){ case 'System User': header('location: dashboard.php'); break; case 'Administrator': …

Member Avatar
Member Avatar
+0 forum 19

I created a simple Point of Sale program without database in Visual Studio 2008 (VB.NET) and I want to output the number of money bills that are needed to complete the change of the customer This is the preview of my program - https://ibb.co/R94400g In the image, at the bottom of the form, I put a panel and there's a label and text box inside. I want to show how many 1000, 500, 100, 50, and 20, that is needed to complete the change. see the image for the desired output. Thank you for your help :) *Sorry for my …

Member Avatar
Member Avatar
+0 forum 2

So I am making a responsive audio waveform, if you don't know what that is, it is something like this: (btw this is my goal to make those audio waveforms). https://i.ytimg.com/vi/J7uN-SQtOYI/maxresdefault.jpg https://www.youtube.com/watch?v=OVMuwa-HRCQ https://www.youtube.com/watch?v=SCD2tB1qILc I don't know how to describe it, so just look at the videos and image. but my question is, how do I get the values from the "AudioSpectrumListener", it has a lambda expression. And I need the value of the magnitude. So I can print out the values. Later I will use the values to make rectangles and that rectangles will change height shape because of the …

Member Avatar
Member Avatar
+0 forum 17

<center><div id="piechart"></div></center> <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> <script type="text/javascript"> google.charts.load('current', {'packages':['corechart']}); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([ ['A', 'B'], <?php $query = "SELECT COUNT (*) AS a FROM TABLE WHERE A = '1'"; $results = sqlsrv_query($conn, $query); $row = sqlsrv_fetch_array($results); $A = $row['a']; ?> <?php $query = "SELECT COUNT (*) AS b FROM TABLE WHERE B = '1'"; $results = sqlsrv_query($conn, $query); $row = sqlsrv_fetch_array($results); $b = $row['b']; ?> ]); var options = {'title':'Survei Harian ', 'width':850, 'height':550}; var chart = new google.visualization.PieChart(document.getElementById('piechart')); chart.draw(data, options); } </script> help I wear script on why not play please grafik assistance

Member Avatar
+0 forum 0

I have a problem with laravel and vuejs the code below is in my resources in test.blade.php, I don't see anything in the internet browsers <!doctype html> <html lang="en"> <!doctype html> <head>` <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Laravel</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet"> <!-- Style --> </head> <body> <div id="app"> <test></test> </div> <script src="http://192.168.3.129/js/app.js"></script> </body> </html>

Member Avatar
+0 forum 0

Hii Guys I am currently Devloping a Java Remote Desktop Software like teamviewer I would like know some guidelines about the tools I can use for client and server side I could create a GUI using Swing and add by using Robot class to imitate mouseactions and keyactions and by using screen capture and Compression and TCP/socket programming I could send the images Is it the best efficient way to acheive this ?Are there any other latest tools/protocols which are faster ? By googling a lot I found RDP and VNC a lot of times ?What are they

Member Avatar
Member Avatar
+0 forum 12

hey i have been given a project need help in coding it **Project Problem:** A company wants you to create a program to manage records and do analysis regarding projects. The company stores all information in a file as follows:  The PROJECT file contains project characteristics such as the project name and project code.  The EMPLOYEE file contains the employee names, phone number, address, etc.  The JOB file contains the billing charge per hour for each of the job types – a biological engineer, a computer technician, and electrical engineer would generate different billing charges per hour. …

Member Avatar
Member Avatar
+0 forum 5

So I am really interested in making a database, I have knowledge about html and css, not javascript and I just want to begin learning and making a database. I am going to use this website: https://www.000webhost.com/?utm_source=000webhostapp&utm_campaign=000_logo&utm_medium=website&utm_content=footer_img so you can see my website in the internet, I don't really expect a lot of people are going to my website, like more than 20 people in a day, but here is the question or discussion? how and where do I begin learn about databases, I don't really care what language I am going to use, like sql or php, is sql …

Member Avatar
Member Avatar
+0 forum 5

Python-wxPython Tutorial This tutorial will take through the basics of wxPython. ##Introduction: Let's face it. I am a dinosaur. I got my computer science degree in the mid 70s. And it won't be long before **I** am in **my** mid 70s. So why am I trying to learn Python? Mostly because learning new things keeps my brain active. And besides, nobody on Daniweb seems to be asking questions about vb.Net anymore. So I thought I'd give it a try. After a few weeks of puttering I managed to learn enough Python to rewrite all of my vbscripts (stop laughing, it's …

Member Avatar
Member Avatar
+4 forum 11

I have an issue when building for iOS in Xamarin Studio: I open Xamarin Studio and create a Single Project View App for IOS, I then run the project, but the project does not load onto the simulator all I get is the message "Waiting for the debugger to connect to the iOS Simulator". I have xcode installed on the machine. Does anyone know how to solve this issue?

Member Avatar
Member Avatar
+0 forum 1

is there any one works with facebook PHP SDK to boosting post?we are testing the marketing api to implement on our site for do post and boost that. so we created the sandbox account and tested the file and got campaign, ad set,creative and ad id successfully. but cant able to view that test page with test post. Anybody can help me, how to view the post created using marketing api on sandbox?

Member Avatar
Member Avatar
+0 forum 1

Now I am developing Wordpress websites and many of my clients are asking to create online calculators for their websites. Usually, it is required to create a calculator in the shortest possible time and therefore I decided that it was not advisable to create calculators from scratch and began to search for this for ready-made plugins. I looked through a bunch of plugins, but I could not make a choice. I hesitate between these plugins: * https://wordpress.org/plugins/calculated-fields-form/ * https://wordpress.org/plugins/ucalc/ * https://wordpress.org/plugins/wp-creator-calculator/ Have you tried these plugins, should you use them? What wordpress plugins for calculators can you recommend? Thank!

Member Avatar
Member Avatar
+1 forum 2

Hi guys, I wonder if this is something I could do on this forum. I've never worked with REST, so I thought that it could be a good exercise to try to develop a very small and simple Java application and try to make use of REST as well. I found a brief which seems simple enough, I'll share it with you (I'm happy to change this of course if you think it's useful as for me it's just practice). As a Rest Client I want to submit new orders for bricks So I can start customers’ orders Given A …

Member Avatar
Member Avatar
+0 forum 48

I use MampPro to setup my sites on the local server... all well and good. So, every time I fire it up I get the upgrade nag... so, I figure its time, and hit the upgrade... and it does its thing. BOOM, every database I had there - gone! GRR! Dang! - Fortunately I was proactive and copied all of the previously ( the DB dir Mamp ). The internet tells me to simply put them back in the dir and restart - which I do.... Now PhpMyAdmin "sees" the DB's but does not have index's for any of them …

Member Avatar
Member Avatar
+0 forum 7

hello dear community, first of all - i hope that my beginner-question will fit into this sub-forum.  I hope so.  Servo Control  with Micropython - with the ESP 8266 ...- compared to Arduino  I work with young kids and I'm always looking for economical platforms to build intriguing projects. While we can say that Arduino clones are pretty cheap, it uses the C/C++ language that the kids are not familiar with. This is pretty challenging. Also and furthermore, it doesn't have a built-in WiFi which is a must for all the IoT projects that i have in mind. On the …

Member Avatar
Member Avatar
+0 forum 1

i've been tried some code : a.html : <div class="content"> <a href="howto_google_maps.asp">Google Maps</a><br> <a href="howto_css_animate_buttons.asp">Animated Buttons</a><br> <a href="howto_css_modals.asp">Modal Boxes</a><br> <a href="howto_js_animate.asp">Animations</a><br> <a href="howto_js_progressbar.asp">Progress Bars</a><br> <a href="howto_css_dropdown.asp">Hover Dropdowns</a><br> <a href="howto_js_dropdown.asp">Click Dropdowns</a><br> <a href="howto_css_table_responsive.asp">Responsive Tables</a><br> </div> b.html (1st trial), i got this from w3schools : <html> <head> <script src="js/jquery-3.3.3.min.js"></script> <script> function includeHTML() { var z, i, elmnt, file, xhttp; /*loop through a collection of all HTML elements:*/ z = document.getElementsByTagName("*"); for (i = 0; i < z.length; i++) { elmnt = z[i]; /*search for elements with a certain atrribute:*/ file = elmnt.getAttribute("w3-include-html"); if (file) { /*make an HTTP request using the attribute …

Member Avatar
+0 forum 0

I'm reading data from SQLite database table. If the SQLiteDataReader encounters a negative double an InvalidCastException is thrown. Here is my code. public void DBToArray() { string stm = "SELECT * FROM mtable"; SQLiteCommand cmd = new SQLiteCommand(stm, sqlcon); SQLiteDataReader rdr = cmd.ExecuteReader(); while (rdr.Read()) { Console.WriteLine( rdr.GetInt32(0) + " " + rdr.GetString(1) + " " + rdr.GetString(2) + " " + rdr.GetString(3) + " " + rdr.GetInt32(4) + " " + rdr.GetDouble(5) + " " + /* -5.0 no good */ rdr.GetString(6) + " " + rdr.GetString(7) ); } } Just wondering if anyone has encountered and solved this …

Member Avatar
Member Avatar
+0 forum 2

Hi there I’m learning vb.net and my main outcome is to be able to find out how to create from scratch custom GUI controls like 7 Segment displays in vb.net mind you and once I have accomplished that to be able to connect the hardware to a serial port like db9 etc: to communicate with the software and control actual 7 segment led displays from software. Sorry for a mouth full So I hope anyone with this knowledge can show me or guide me in the right direction on these specifics design from scratch? I’m prepared to learn everything just …

Member Avatar
Member Avatar
+0 forum 1

Hi developers! I have made a POS software. I have added the functionality of "priniting to Thermal printer" and "barcodes". Firstly I added the functionality of Reciept printing which worked perfectly. Then I added the functionality of barcode scanning. As you know barcode reader device automatically scans the barcode and write the barcode in Text field or excel sheet. But in the sales screen , all the field of item/product should be populated from database When barcode is scanned. I implemented an interface(I get this code form internet) in the my Sales Screen Constructor. It workded perfectly for me, but …

Member Avatar
+0 forum 0

Hi developers! I have made a POS software. I have added the functionality of "priniting to Thermal printer" and "barcodes". Firstly I added the functionality of Reciept printing which worked perfectly. Then I added the functionality of barcode scanning. As you know barcode reader device automatically scans the barcode and write the barcode in Text field or excel sheet. But in the sales screen , all the field of item/product should be populated from database When barcode is scanned. I implemented an interface(I get this code form internet) in the my Sales Screen Constructor. It workded perfectly for me, but …

Member Avatar
+0 forum 0

Hello everyone, [Dadroit](https://viewer.dadroit.com) is a tool that threats JSON as a Data format, not a plain text. It provides you quick outline view with the help of tree representation of JSON Data from root to last nodes. You can browse and query JSON like an enterprise DBMS. * 10X faster than VSCode in launch * 9X less RAM usage than Sublime * 21X faster than NPP++ in search Please give it a look and let me know what you think about it.

Member Avatar
Member Avatar
+0 forum 1

How to initialize any logger at one place to use it in multiple controller

Member Avatar
+0 forum 0

I am trying to apply an automatic scrolling down and up in Datagridview Scrollbar. I've seen a related topic (using scrollbar panel) but I dont know how to convert for datagridview auto scrolling up and down. I'll be using Timer for autoscrolling. Here is the code from another topics forum. Please help. Private scrollUp As Boolean = False Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick If scrollUp Then Dim scrollY As Integer = -Panel1.AutoScrollPosition.Y - 1 If scrollY < 0 Then scrollUp = False Else Panel1.AutoScrollPosition = New Point(Panel1.AutoScrollPosition.X, scrollY) End If Else Dim scrollY As Integer …

Member Avatar
+0 forum 0

Hey I'm trying to make a sudoku solver. Im stuck at printing the sudoku elements using outtextxy. My command line is : for(i=0;i<w;i++) { for(j=0;j<w;j++) { if(A[i][j]==0) outtextxy(25+40*j,55+10*i," "); else outtextxy(25+40*j,65+10*i,A[i][j]); // outtextxy(25+40*j,55+40*i,"1"); } } where A[][]is the array in which sudoku is stored and the blanks are inputed as "0"; now I am having this error : cannot convert 'int' into 'const char far*' Pls help

Member Avatar
Member Avatar
+0 forum 2

I have to Create an application that enables the user to create a file named grades.txt in which to store grades. The app should allow the user to write to grades.txt file: student number, student name, surname, subject, individual assignment grade, group assignment grade, test grade. When you click Create button grades.txt should be created in your app Debug folder. When you click display button the file contents should display on datagridview. Display at least 10 records. Use LINQ to read and display file contents to datagridview. I'm not sure where to start.

Member Avatar
+0 forum 0

The End.