Hello, this is my first post. I need help with this assignment here, dont know where to begin! maybe I should use strstr()? The output needs to be what is shown at the bottom. I cant use the string class, only c-style functions. Any hints would be welcome thank you! #include <iostream> #include <fstream> #include <cstring> using namespace std; //Prints the characters in the string str1 from beginIndex //and including endIndex void printSubString( const char* str1 , int beginIndex, int endIndex ) { //code needed } void printWordsInAString( const char* str1 ) { //code needed } int main() { char …

Member Avatar
Member Avatar
+0 forum 1

I am creating a program in python for a artificial intelligence for chinese checkers, but i cant even get the board to be portrayed! I am using this code: `Code` from tkinter import * root = Tk() board = PhotoImage(file="board.ppm") root.mainloop() I get the error as follows: Traceback (most recent call last): File "/Users/GAMEKNIGHT7/Documents/chineseCheckersAI(genius hour).py", line 3, in <module> board = PhotoImage(file="board.ppm") File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tkinter/__init__.py", line 3539, in __init__ Image.__init__(self, 'photo', name, cnf, master, **kw) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tkinter/__init__.py", line 3495, in __init__ self.tk.call(('image', 'create', imgtype, name,) + options) _tkinter.TclError: couldn't open "board.ppm": no such file or directory What happened??`

Member Avatar
Member Avatar
+0 forum 1

Hi, I am using Windows 10 and there is a lot of space in my system. But still its working too slow. Any app could take several minutes to open and even any website. also while I was try using any app it shows me message that, "App not responding". I dont know whether it is a hardware or software problem. I have licensed anti virus in my system so I ams ure its not because ofvirus as I hve scanned it thoroughly. Please help me guys what could be the problem and how to resolve the same?

Member Avatar
Member Avatar
-2 forum 15

Hello All, I have an issue with Windows 7: sometime the copy paste doesn't work and when this issue appear => the only way to remove it is by rebooting my pc. The copy paste doesn't work (wether using using [Ctrl]+[C], [Ctrl]+[V] or by context menu (right-click menu)) for all the applications (notepad, word, eclipse, outlook, skype). And also I'm unable to copy folders and files from one location to another ! I have tried everything but none of the below solutions solved my problem: 1. sfc /scannow 2. msconfig : Go to Startup, disable everything but windows services 3. …

Member Avatar
Member Avatar
+0 forum 1

i have 2 sperate projects which i am trying to run together as a shared project but i am failing hard……. Basically, first project does infix to postfix notation and the second projects does postfix evaluation. tried to run all that in 1 project but i keep getting all sorts of error and cannot figure it out, I am kind of lost don’t know what to do. any suggestions would be really appreciated!!!!!!!!! the first 3 files is infix to postfix project and the last one is posftix evaluation. this is the calculator.cpp #include "stdafx.h" #include "Calculator.h" #include <iostream> #include …

Member Avatar
Member Avatar
+0 forum 6

Hello, I am building a calculator in c++ windows application form, i want the calculator to handle multiple operator precedence (for example, 2+4*5/3). but i am not sure how to write the following code on my windows form project. Any suggestions would appreciated . #include <iostream> #include <conio.h> using namespace std; int main() { int num1 = 0, num2 = 0, num3 = 0, num4 = 0, num5 = 0; char op1, op2, op3, op4; int total1 = 0, total2 = 0, total3 = 0, total4 = 0; cout << "Enter five values with operator to calculate=>"; cin >> num1 …

Member Avatar
Member Avatar
+0 forum 6

My website was built with Angular JS 1 (not a wordpress site) . When i posted some website posts within same day. So ,When ever i checked my website on Google SERP (site:example.com), identified some of pages are crawled within 24hrs and some of pages within 1 week and some of pages with in 1 month and some of pages not cralwed . My Question is why this was happened?

Member Avatar
Member Avatar
+0 forum 1

So I was roaming around my computer, trying to merge my D and C drive since C drive is the main drive and D drive isn't, the D drive had 8 times as much space as the C drive so I wanted to merge them I went into disk settings and wiped the disk without knowing what it did Now I can't recover it because it doesn't show up in explorer or disk manager Please help

Member Avatar
Member Avatar
+0 forum 3

Does anyone know how to stop this process? It sits in Windows8_OS/Windows/System32/SleepStudy and builds multiple .ETL files in a ScreenOn sub folder The files can be deleted but the folders cannot.

Member Avatar
Member Avatar
+0 forum 6

Why Everytime After Few Days Google Hindi Input Setup Currupt Or Not Work In Hindi Fonts. I Facing This Issue Again & Again Same Day. Please Any Idea For Reinstall Google Input because I M Install again not install successfully. generate errors already installed.

Member Avatar
Member Avatar
+0 forum 2

Hi please excuse my ignorance but can I download Spotify to an iPod nano and then use tracks in a vehicle via Bluetooth ?

Member Avatar
+0 forum 0

Hi everyone! Please help me to find a thesis title that should be related in computer science about the theory. Your suggestion is very helpful for me since I will be graduating in senior highschool PS: any suggestions would do :)

Member Avatar
Member Avatar
-2 forum 1

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 will be stored in an external file using pickle maybe. The programme should then be able to check if the username and password is valid from the external list in a log in section. If they are valid they should be allowed in. I'm sort of stuck on this and …

Member Avatar
Member Avatar
+0 forum 3

Like when I watch any videos on my Thinkpad it flickers I got to be moving my mouse the whole time help!

Member Avatar
Member Avatar
+0 forum 1

I've been a Windows user right from the start and I've seen many problems that resulted in the infamous `checking for a solution to the problem`. I'm curious. Can anyone tell me if they have ever had an instance where Windows has actually found a solution?

Member Avatar
Member Avatar
+1 forum 9

So I have had this old windows vista desktop computer for a while and just recently when I turned it off the next morning it wouldnt turn back on until 4 days later. now 1 week later i turned it off again and i havent been able to turn it on for a month. wont make a noise there is only a green light on the back of the computer.

Member Avatar
Member Avatar
+0 forum 2

I am having a problem, my power light is blinking but laptop won't boot up, however when I push and hold either the FN key or the Windows key the screen comes on and it starts to boot. As long as I hold down either one of those keys the computer works, however if I let the key up the screen goes off and it shuts down to the power button blinking again. If I push either of the buttons again it boots up again.... what the heck could be causing this? HP Pavillion

Member Avatar
Member Avatar
+0 forum 1

Accidentally downloaded an update for adobe flash. Moments later, Bytefence installed itself onto my laptop, as well as an app called 'weatherbuddy'. My browser was also hijacked by Palikan. Finally, I was able to restore my default browser and I installed Malwarebytes and ESET. Both had found and deleted files relating to these apps, but they are still running in the background and appear on my taskbar icon tray but cannot be found in the control panel. Thanks for your help!

Member Avatar
Member Avatar
+0 forum 3

My computer was working fine until today I opened it up and clicked the power button then I realized that it was not working. I then proceeded to hold it after a while I can hear the fan start up but nothing else when I let go of the power button it stops I have one light on the lightbulb light so I guess it's still on but when I plug in the charger it doesn't charge it's been like this for a while now help

Member Avatar
Member Avatar
+0 forum 5

I forgot my password on my Toshiba Windows 10 laptop. Now every time I turn it on it has a black screen with a white box that says 'enter password' but I don't know the password.. I need to somehow reset my whole laptop. I've tried EVERYTHING, INCLUDING calling tech support, the Toshiba company, the windows company, watching YouTube videos, searching all over the internet, etc. Please I need desperate help. I need this laptop to do my school work and if I don't so my school work on this than I won't graduate High school. :( Someone please be …

Member Avatar
Member Avatar
+0 forum 8

On starting my pc black screen is coming and shows Enter password. I don't know what it is asking for. please help I am unable to start my computer.

Member Avatar
Member Avatar
+0 forum 5

Hello, I am facing a very tiresome problem. Whenever I click on any link (sometimes not even on link, any where on the window) on any web browser (I am using Chrome more), a new tab opens up with address "wonderlandads.com". This stays for fractions of a second and some ad appears on this window. This happens every time I click on any window. However it does not appear if I am opening e-mails. I have a broadband connection. Every system (PC, laptop, Mobile phones) are all connected through a Wifi router. In all these divices I am facing same …

Member Avatar
Member Avatar
+0 forum 28

I want to have a forum in my website project in school. i don't have any idea. may anyone help me suggesting some examples. it is like daniweb forums. i want to save the topics in the database and retrieve it as a link. i dont know how to do that in jsp code. can anybody help me?? i really need help. God bless you .

Member Avatar
Member Avatar
+0 forum 24

Hi All, This is my first post... I am willing to help anyone with any technical issue I know the answer to, and many that I have to research to give them an accurate answer to. But when people want someone to do their homework for them, or worse yet, do the work they are being paid for, I find it offensive that they would even ask. On this site, and many others I often see posts requesting things like "How to write an ATM machine in C++", or "How to impleent a Quicksort in Java". These are obvious homework …

Member Avatar
Member Avatar
+6 forum 7

Hello eveyone, I want to write a MARIE code to perform the following program excerpt: If (x < y + z) { x = x – y; z=z+1; } else y=y-1; Instactions given: - Use “ORG” instruction to start your program at address 200. - The following labels and directives should be included at the end of your program: X, Dec 4 Y, Dec 2 Z, Dec 5 One, Dec 1 I do not know how to use if statments in marie, all I know is how to add, subtract and multiply ( the basics) any help would be really …

Member Avatar
Member Avatar
+0 forum 6

Good morning Recently I put an excell files on my desktop. This file wu4.xlsx was draged from a secure vautl (cryptainer). I did some draggring of file into a CD-R . Because of some limitation this file and 1 other could not be moved. When I go back to the desktop the Excell file has disapeared and could not be find anywhere on my PC. I did a search with "ask me anything" on my cloud drive, on the various partition, on the cryptainer program, on the deleted, and on the CD. What happens to this file? I am using …

Member Avatar
Member Avatar
+0 forum 4

Hi all, I have to solve a tripple sudoku. The program is supposed to solve the enlarged sudoku. We load 21 rows, each with 9 integers in the range <0.9>. Rows 1-9 (numbered so that the first line is numbered 1, etc.), 7-15 and 13-21 are to create a classic sudoku. We remind you of the classic sudoku rules: * The classic sudoku has a size of 9x9, * Each row of numbers can not repeat itself, * In each column the numbers can not be repeated, * In each of the nine squares 3x3 numbers can not repeat. We …

Member Avatar
Member Avatar
+0 forum 6

Hello, I have a small form factor gaming PC with the following hardware. MSI X170I Gaming Pro AC mini iTX MB Intel i7 6700K CPU 32GBs GSkil DDR4 ram Nvidia GeForce 1080 Founders edition GPU OS Windows 10 Pro I subscribe to Frontier FIOS (formaly was Verizon) for my hi speed internet. I have 75mb down and 75mb up. When doing an internet speed check I routinely get around 82 to 88 mbs down however it struggles to even get 20 mbs up, these speeds are the same regardless of if on a wired Ethernet or WiFi. Both the Ethernet …

Member Avatar
Member Avatar
+0 forum 4

When I quit for the day on my PC I always used "sleep" instead of shutdown. The monitor would go black and after a few seconds the power would shut down. That was normal. Now when I tell it to sleep the monitor goes black, the PC never powers down and after about 10 seconds does like a mini reboot then comes back on including the monitor. I have uninstalled any recent software that I've loaded. Even though I had my hard drive and monitor settings to never go to sleep from inactivity I was still able to tell it …

Member Avatar
Member Avatar
+1 forum 6

Hi there, I am stuck with a problem, and don't know where to start. I need to calculate the closest pair of points on the Earth using a divide and conquer method. I know I should calculate the orthodromic distance (or in other words the great-circle distance) but I don't know what to do. This calculation has to last at most nlog(n). I found this: "The problem can be solved in O(n log n) time using the recursive divide and conquer approach, e.g., as follows:[1] Sort points according to their x-coordinates. Split the set of points into two equal-sized subsets …

Member Avatar
Member Avatar
+0 forum 11

The End.