Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
6
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
1 Endorsement
Ranked #858
~3K People Reached
Favorite Tags

11 Posted Topics

Member Avatar for Juniormi_01

> but it keeps telling me that my declaration array is not correct because it needs to have a constant value That's a C restriction. Chances are your C++ compiler follows C standards for some reason. You can always do it the "classic" C way by using <stdlib.h> (in C++ …

Member Avatar for Gulshan_6
0
338
Member Avatar for ᴇXᴄᴀLɪʙ
Member Avatar for Fifth Horseman
-1
136
Member Avatar for Mark_136

Image quality is one, but image alignment is another - if the text is not aligned horizontally, you will get much worse results than otherwise. The presence of additional graphical elements can also cause issues. Text complexity is irrelevant, but you may find that some OCR modules will have an …

Member Avatar for Fifth Horseman
0
84
Member Avatar for borobhaisab

$sql = "SELECT * from keywords WHERE kw1 = ? OR kw2 = ? OR kw3 = ? OR kw4 = ? order by kw1_point desc LIMIT 100"; You're using OR between the clauses. Also, that schema design is... yikes. Why exactly do you need each keyword to have a …

Member Avatar for Dani
0
205
Member Avatar for shebinkk

If in doubt, output the variables as the program runs. Here's a modified version of your program with the data set you wanted to run: import numpy as np from scipy.stats import norm def mann_kendall_test(data, alpha=0.05): """ Perform the Mann-Kendall test to detect trends and change points in a time …

Member Avatar for Fifth Horseman
1
154
Member Avatar for priya1717

The quick and dirty solution of subtracting 48 (or 0x30 if we're talking hexadecimal) will work. However, for multi-character values, **if** your sequence of characters is null-terminated (as it should be), the better way is to use sscanf from the <cstdio> library.

Member Avatar for toneewa
0
129
Member Avatar for frctl

If what you want to actually do is, as you mentioned in one of the comments, remove consecutive whitespaces, all you need to do is keep track if the last character you copied to the output was a whitespace and check if the current character is also a whitespace, then …

Member Avatar for hes8
0
162
Member Avatar for darshanghorpade

The input may be described as an array, but you'll actually solve the assignment by treating it as a graph. Each index `i` has a 1-length route to `i+1` and `i-1`, as well as a 1-length route to any `j` located ahead of itself that has the same value. Create …

Member Avatar for Fifth Horseman
0
202
Member Avatar for Vandiun

Nice that you've found a solution, but following a ready-made solution won't exactly be a teaching moment. Back in the day, converting infix to postfix was part of an assignment I got in one of my programming classes. What I did was read the Wikipedia description of the shunting-yard algorithm …

Member Avatar for Fifth Horseman
1
234
Member Avatar for مبشر

You already have save and load functionality, although what you've done with select_game() and load_game() feels unnecessarily messy. I can see a couple obvious bugs First: #define Height 6 #define Width 7 int board[Height][Width]; char gamestr[41]; `board` will be 6*7 = 42 bytes, `gamestr` is one byte too small to …

Member Avatar for Fifth Horseman
0
111
Member Avatar for gbertoli3

Your addition of double quotes turned what should have been the name of an object into a string constant... [code]music = new Microsoft.DirectX.AudioVideoPlayback.Audio(Location); music.Play();[/code]

Member Avatar for Fifth Horseman
0
792

The End.